| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int[] | |
| protected transient int[] | |
| private static final int | |
| private static final long | |
| protected int | |
| private static final int[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(int newItem)
Implements org.
|
| public boolean | addAll(int... source)
Implements org.
|
| public boolean | |
| public boolean | addAllAtIndex(int index, int... source)
Implements org.
|
| public boolean | addAllAtIndex(int index, IntIterable source)
Implements org.
|
| public void | addAtIndex(int index, int element)
Implements org.
|
| private void | |
| public boolean | allSatisfy(IntPredicate predicate)
Implements org. Returns true if all of the elements in the IntIterable return true for the specified predicate, otherwise returns false. |
| public boolean | anySatisfy(IntPredicate predicate)
Implements org. Returns true if any of the elements in the IntIterable return true for the specified predicate, otherwise returns false. |
| public void | appendString(Appendable appendable, String start, String separator, String end)
Implements org. Prints a string representation of this collection onto the given |
| public LazyIntIterable | |
| public MutableIntList | |
| public MutableIntList | |
| public int | |
| public MutableList | |
| private void | |
| public RichIterable | chunk(int size)
Overrides default org. Partitions elements in fixed size chunks. |
| public void | |
| public <V> MutableList | collect(IntToObjectFunction<? extends V> function)
Implements org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public <V, R extends Collection | collect(IntToObjectFunction<? extends V> function, R target)
Overrides default org. Same as |
| public boolean | contains(int value)
Implements org. Returns true if the value is contained in the IntIterable, and false if it is not. |
| private void | |
| private int[] | |
| public int | count(IntPredicate predicate)
Implements org. Returns a count of the number of elements in the IntIterable that return true for the specified predicate. |
| public int | detectIfNone(IntPredicate predicate, int ifNone)
Implements org.
|
| public MutableIntList | |
| public long | |
| public void | each(IntProcedure procedure)
Implements org. A synonym for forEach. |
| public void | |
| private void | |
| public boolean | equals(Object otherList)
Overrides java. Implements org. Follows the same general contract as |
| public void | |
| public int | |
| public int | |
| public int | |
| public int | hashCode()
Overrides java. Implements org. Follows the same general contract as |
| public int | indexOf(int value)
Implements org.
|
| public <T> T | injectInto(T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public <T> T | injectIntoWithIndex(T injectedValue, ObjectIntIntToObjectFunction<? super T, ? extends T> function)
Implements org.
|
| public MutableIntIterator | intIterator()
Implements org. Returns a primitive iterator that can be used to iterate over the IntIterable in an imperative style. |
| public int | |
| public int | |
| public int | |
| public IntArrayList | newEmpty()
Overrides default org. Creates a new empty IntArrayList. |
| private IndexOutOfBoundsException | |
| public static IntArrayList | |
| public static IntArrayList | newListWith(int... elements)
Creates a new list using the passed |
| public static IntArrayList | |
| public void | readExternal(ObjectInput in)
Implements java. The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
| public IntArrayList | reject(IntPredicate predicate)
Implements org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate. |
| public <R extends MutableIntCollection> R | reject(IntPredicate predicate, R target)
Overrides default org. Same as |
| public boolean | remove(int value)
Implements org.
|
| public boolean | |
| public boolean | removeAll(int... source)
Implements org.
|
| public int | removeAtIndex(int index)
Implements org.
|
| public boolean | removeIf(IntPredicate predicate)
Overrides default org.
|
| public boolean | |
| public boolean | retainAll(int... source)
Implements org.
|
| public IntArrayList | |
| public IntArrayList | select(IntPredicate predicate)
Implements org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate. |
| public <R extends MutableIntCollection> R | select(IntPredicate predicate, R target)
Overrides default org. Same as |
| public int | set(int index, int element)
Implements org.
|
| private void | |
| public int | size()
Implements org. Returns the number of items in this iterable. |
| private int | |
| public IntArrayList | sortThis()
Implements org. Sorts this list mutating its contents and returns the same mutable list (this). |
| public IntArrayList | sortThis(IntComparator comparator)
Overrides default org. Sorts the internal data structure of this list and returns the list itself as a convenience. |
| public Spliterator. | |
| public MutableIntList | subList(int fromIndex, int toIndex)
Implements org.
|
| public long | |
| public void | swap(int index1, int index2)
Overrides default org.
|
| private void | |
| public int[] | toArray()
Implements org. Converts the IntIterable to a primitive int array. |
| public int[] | toArray(int[] target)
Overrides default org. Converts the IntIterable to a primitive int array. |
| public ImmutableIntList | toImmutable()
Implements org. Returns an immutable copy of this list. |
| public IntArrayList | |
| public MutableIntStack | toStack()
Overrides default org. Converts the collection to a IntStack. |
| private void | |
| public void | |
| private void | |
| public IntArrayList | |
| public IntArrayList | |
| public IntArrayList | |
| public IntArrayList | |
| public IntArrayList | withAll(IntIterable elements)
Implements org.
|
| private IntArrayList | |
| public IntArrayList | |
| public IntArrayList | withoutAll(IntIterable elements)
Implements org.
|
| public static IntArrayList | |
| public void | writeExternal(ObjectOutput out)
Implements java. The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |
| public <T> MutableList | zip(Iterable<T> iterable)
Overrides default org. Returns a |
| public MutableList | zipInt(IntIterable iterable)
Overrides default org. Returns a |