public class IntegerList
extends java.util.ArrayList<java.lang.Integer>
| Constructor and Description |
|---|
IntegerList()
Creates an empty IntegerList.
|
IntegerList(java.util.Collection<java.lang.Integer> coll)
Creates a IntegerList from the given collection.
|
IntegerList(java.lang.Integer... ary)
Creates a IntegerList from the given array.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
apply(Closure<java.lang.Integer,Pair<java.lang.Integer,java.lang.Integer>> closure)
Returns the value from the closure applied to all elements, or null if there are no elements
in this list.
|
java.lang.Integer |
maximum()
Returns the maximum, or null if there are no elements in this list.
|
java.lang.Integer |
minimum()
Returns the minimum, or null if there are no elements in this list.
|
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, trimToSizepublic IntegerList()
public IntegerList(java.util.Collection<java.lang.Integer> coll)
public IntegerList(java.lang.Integer... ary)