| Modifier and Type | Method and Description |
|---|---|
| public <V> OrderedIterable | collect(ShortToObjectFunction<? 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(ShortIntToObjectFunction<? 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(ShortIntToObjectFunction<? 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 short | |
| public int | |
| public <T> T | injectIntoWithIndex(T injectedValue, ObjectShortIntToObjectFunction<? super T, ? extends T> function)
|
| public OrderedShortIterable | reject(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate. |
| public default OrderedShortIterable | rejectWithIndex(ShortIntPredicate predicate)
Returns a new OrderedShortIterable excluding all elements with corresponding indexes matching the specified predicate. |
| public default <R extends MutableShortCollection> R | rejectWithIndex(ShortIntPredicate predicate, R target)
Returns a new MutableShortCollection excluding all elements with corresponding indexes matching the specified predicate. |
| public OrderedShortIterable | select(ShortPredicate predicate)
Redeclares org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate. |
| public default OrderedShortIterable | selectWithIndex(ShortIntPredicate predicate)
Returns a new OrderedShortIterable including all elements with corresponding indexes matching the specified predicate. |
| public default <R extends MutableShortCollection> R | selectWithIndex(ShortIntPredicate predicate, R target)
Returns a new MutableShortCollection including all elements with corresponding indexes matching the specified predicate. |
| public default MutableShortStack |
| 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(ShortIntProcedure procedure) | |
| getFirst | back to summary |
|---|---|
| public short getFirst() | |
| indexOf | back to summary |
|---|---|
| public int indexOf(short value) | |
| injectIntoWithIndex | back to summary |
|---|---|
| public <T> T injectIntoWithIndex(T injectedValue, ObjectShortIntToObjectFunction<? super T, ? extends T> function) | |
| reject | back to summary |
|---|---|
| public OrderedShortIterable reject(ShortPredicate predicate) Redeclares org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default OrderedShortIterable rejectWithIndex(ShortIntPredicate predicate) Returns a new OrderedShortIterable excluding all elements with corresponding indexes matching the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default <R extends MutableShortCollection> R rejectWithIndex(ShortIntPredicate predicate, R target) Returns a new MutableShortCollection excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public OrderedShortIterable select(ShortPredicate predicate) Redeclares org. Doc from org. Returns a new ShortIterable with all of the elements in the ShortIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default OrderedShortIterable selectWithIndex(ShortIntPredicate predicate) Returns a new OrderedShortIterable including all elements with corresponding indexes matching the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default <R extends MutableShortCollection> R selectWithIndex(ShortIntPredicate predicate, R target) Returns a new MutableShortCollection including all elements with corresponding indexes matching the specified predicate.
| |
| toStack | back to summary |
|---|---|
| public default MutableShortStack toStack() Converts the collection to a ShortStack.
| |