@Deprecated public class IntList extends ArrayList<Integer>
ArrayList to help build an array of int
values.modCount| Constructor and Description |
|---|
IntList()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableIntList |
asImmutable()
Deprecated.
|
static List<Integer> |
asList(int[] args)
Deprecated.
|
static int[] |
toArray(List<Integer> integers)
Deprecated.
Use
Ints.toArray(java.util.Collection) |
int[] |
toIntArray()
Deprecated.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic int[] toIntArray()
@Deprecated public static int[] toArray(List<Integer> integers)
Ints.toArray(java.util.Collection)Integer objects to an array of primitive
ints.integers - List of Integer objectsints@Deprecated public static List<Integer> asList(int[] args)
int values.
The behavior is analogous to Arrays.asList(Object[]). Changes
to the list are reflected in the array. The list cannot be extended.
args - Array of primitive int valuespublic ImmutableIntList asImmutable()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.