| Modifier and Type | Method and Description |
|---|---|
| public <V> OrderedIterable | collect(IntToObjectFunction<? extends V> function)
Redeclares org. Returns a new collection with the results of applying the specified function on each element of the source collection. |
| public default <V> OrderedIterable | collectWithIndex(IntIntToObjectFunction<? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index. |
| public default <V, R extends Collection | collectWithIndex(IntIntToObjectFunction<? extends V> function, R target)
Adds elements to the target Collection using results obtained by applying the specified function to each element and its corresponding index. |
| public void | |
| public int | |
| public int | |
| public <T> T | |
| public OrderedIntIterable | reject(IntPredicate predicate)
Redeclares org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate. |
| public default OrderedIntIterable | rejectWithIndex(IntIntPredicate predicate)
Returns a new OrderedIntIterable excluding all elements with corresponding indexes matching the specified predicate. |
| public default <R extends MutableIntCollection> R | rejectWithIndex(IntIntPredicate predicate, R target)
Returns a new MutableIntCollection excluding all elements with corresponding indexes matching the specified predicate. |
| public OrderedIntIterable | select(IntPredicate predicate)
Redeclares org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate. |
| public default OrderedIntIterable | selectWithIndex(IntIntPredicate predicate)
Returns a new OrderedIntIterable including all elements with corresponding indexes matching the specified predicate. |
| public default <R extends MutableIntCollection> R | selectWithIndex(IntIntPredicate predicate, R target)
Returns a new MutableIntCollection including all elements with corresponding indexes matching the specified predicate. |
| public default MutableIntStack |
| collect | back to summary |
|---|---|
| public <V> OrderedIterable Redeclares org. Doc from org. Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.
| |
| collectWithIndex | back to summary |
|---|---|
| public default <V> OrderedIterable Returns a new OrderedIterable using results obtained by applying the specified function to each element and its corresponding index.
| |
| collectWithIndex | back to summary |
|---|---|
| public default <V, R extends Collection Adds elements to the target Collection using results obtained by applying the specified function to each element and its corresponding index.
| |
| forEachWithIndex | back to summary |
|---|---|
| public void forEachWithIndex(IntIntProcedure procedure) | |
| getFirst | back to summary |
|---|---|
| public int getFirst() | |
| indexOf | back to summary |
|---|---|
| public int indexOf(int value) | |
| injectIntoWithIndex | back to summary |
|---|---|
| public <T> T injectIntoWithIndex(T injectedValue, ObjectIntIntToObjectFunction<? super T, ? extends T> function) | |
| reject | back to summary |
|---|---|
| public OrderedIntIterable reject(IntPredicate predicate) Redeclares org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default OrderedIntIterable rejectWithIndex(IntIntPredicate predicate) Returns a new OrderedIntIterable excluding all elements with corresponding indexes matching the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default <R extends MutableIntCollection> R rejectWithIndex(IntIntPredicate predicate, R target) Returns a new MutableIntCollection excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public OrderedIntIterable select(IntPredicate predicate) Redeclares org. Doc from org. Returns a new IntIterable with all of the elements in the IntIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default OrderedIntIterable selectWithIndex(IntIntPredicate predicate) Returns a new OrderedIntIterable including all elements with corresponding indexes matching the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default <R extends MutableIntCollection> R selectWithIndex(IntIntPredicate predicate, R target) Returns a new MutableIntCollection including all elements with corresponding indexes matching the specified predicate.
| |
| toStack | back to summary |
|---|---|
| public default MutableIntStack toStack() Converts the collection to a IntStack.
| |