| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public <V> ListIterable | 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> ListIterable | collectWithIndex(ShortIntToObjectFunction<? extends V> function)
Overrides default org. Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index. |
| public ShortList | |
| public long | |
| public boolean | |
| public default void | forEachInBoth(ShortList other, ShortShortProcedure procedure)
This method iterates over two CharList instances of the same size together using the specified CharCharProcedure. |
| public short | |
| public int | |
| public int | |
| public ShortList | 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 ShortList | rejectWithIndex(ShortIntPredicate predicate)
Overrides default org. Returns a new ShortList excluding all elements with corresponding indexes matching the specified predicate. |
| public ShortList | 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 ShortList | selectWithIndex(ShortIntPredicate predicate)
Overrides default org. Returns a new ShortList including all elements with corresponding indexes matching the specified predicate. |
| public ShortList | |
| public default ShortList | |
| public ImmutableShortList | |
| public ShortList | |
| public default <T> ListIterable | |
| public default ListIterable | zipShort(ShortIterable iterable)
Returns a |
| binarySearch | back to summary |
|---|---|
| public int binarySearch(short value) | |
| collect | back to summary |
|---|---|
| public <V> ListIterable 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> ListIterable Overrides default org. Returns a new ListIterable using results obtained by applying the specified function to each element and its corresponding index.
| |
| distinct | back to summary |
|---|---|
| public ShortList distinct() Redeclares org.
| |
| dotProduct | back to summary |
|---|---|
| public long dotProduct(ShortList list) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Follows the same general contract as
| |
| forEachInBoth | back to summary |
|---|---|
| public default void forEachInBoth(ShortList other, ShortShortProcedure procedure) This method iterates over two CharList instances of the same size together using the specified CharCharProcedure.
| |
| get | back to summary |
|---|---|
| public short get(int index) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Follows the same general contract as
| |
| lastIndexOf | back to summary |
|---|---|
| public int lastIndexOf(short value) | |
| reject | back to summary |
|---|---|
| public ShortList 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 ShortList rejectWithIndex(ShortIntPredicate predicate) Overrides default org. Returns a new ShortList excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public ShortList 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 ShortList selectWithIndex(ShortIntPredicate predicate) Overrides default org. Returns a new ShortList including all elements with corresponding indexes matching the specified predicate.
| |
| subList | back to summary |
|---|---|
public ShortList subList(int fromIndex, int toIndex)
| |
| tap | back to summary |
|---|---|
| public default ShortList tap(ShortProcedure procedure) Overrides default org.
| |
| toImmutable | back to summary |
|---|---|
| public ImmutableShortList toImmutable() Returns an immutable copy of this list. If the list is immutable, it returns itself. | |
| toReversed | back to summary |
|---|---|
| public ShortList toReversed() Redeclares org.
| |
| zip | back to summary |
|---|---|
| public default <T> ListIterable Returns a
| |
| zipShort | back to summary |
|---|---|
| public default ListIterable Returns a
| |