Package org.apache.calcite.util
Class IntList
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<Integer>,- Collection<Integer>,- List<Integer>,- RandomAccess
Deprecated.
Extension to 
ArrayList to help build an array of int
 values.- See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.asList(int[] args) Deprecated.static int[]Deprecated.int[]Deprecated.Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
IntListpublic IntList()Deprecated.
 
- 
- 
Method Details- 
toIntArraypublic int[] toIntArray()Deprecated.
- 
toArrayDeprecated.UseInts.toArray(java.util.Collection)Converts a list ofIntegerobjects to an array of primitiveints.- Parameters:
- integers- List of Integer objects
- Returns:
- Array of primitive ints
 
- 
asListDeprecated.Returns a list backed by an array of primitiveintvalues.The behavior is analogous to Arrays.asList(Object[]). Changes to the list are reflected in the array. The list cannot be extended.- Parameters:
- args- Array of primitive- intvalues
- Returns:
- List backed by array
 
- 
asImmutableDeprecated.
 
- 
Ints.toArray(java.util.Collection)