| Modifier and Type | Method and Description |
|---|---|
| public <V> ImmutableList | collect(LongToObjectFunction<? 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> ImmutableList | collectWithIndex(LongIntToObjectFunction<? extends V> function)
Overrides default org. Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index. |
| public ImmutableLongList | |
| public ImmutableLongList | newWith(long element)
Redeclares org.
|
| public ImmutableLongList | |
| public ImmutableLongList | newWithout(long element)
Redeclares org.
|
| public ImmutableLongList | |
| public ImmutableLongList | reject(LongPredicate predicate)
Redeclares org. Returns a new LongIterable with all of the elements in the LongIterable that return false for the specified predicate. |
| public default ImmutableLongList | rejectWithIndex(LongIntPredicate predicate)
Overrides default org. Returns a new ImmutableLongList excluding all elements with corresponding indexes matching the specified predicate. |
| public ImmutableLongList | select(LongPredicate predicate)
Redeclares org. Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate. |
| public default ImmutableLongList | selectWithIndex(LongIntPredicate predicate)
Overrides default org. Returns a new ImmutableLongList including all elements with corresponding indexes matching the specified predicate. |
| public ImmutableLongList | subList(int fromIndex, int toIndex)
Redeclares org.
|
| public default ImmutableLongList | |
| public ImmutableLongList | |
| public default <T> ImmutableList | zip(Iterable<T> iterable)
Overrides default org. Returns an |
| public default ImmutableList | zipLong(LongIterable iterable)
Overrides default org. Returns an |
| collect | back to summary |
|---|---|
| public <V> ImmutableList 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> ImmutableList Overrides default org. Returns a new ImmutableList using results obtained by applying the specified function to each element and its corresponding index.
| |
| distinct | back to summary |
|---|---|
| public ImmutableLongList distinct() Redeclares org.
| |
| newWith | back to summary |
|---|---|
| public ImmutableLongList newWith(long element) Redeclares org.
| |
| newWithAll | back to summary |
|---|---|
| public ImmutableLongList newWithAll(LongIterable elements) Redeclares org.
| |
| newWithout | back to summary |
|---|---|
| public ImmutableLongList newWithout(long element) Redeclares org.
| |
| newWithoutAll | back to summary |
|---|---|
| public ImmutableLongList newWithoutAll(LongIterable elements) Redeclares org.
| |
| reject | back to summary |
|---|---|
| public ImmutableLongList reject(LongPredicate predicate) Redeclares org. Doc from org. Returns a new LongIterable with all of the elements in the LongIterable that return false for the specified predicate.
| |
| rejectWithIndex | back to summary |
|---|---|
| public default ImmutableLongList rejectWithIndex(LongIntPredicate predicate) Overrides default org. Returns a new ImmutableLongList excluding all elements with corresponding indexes matching the specified predicate.
| |
| select | back to summary |
|---|---|
| public ImmutableLongList select(LongPredicate predicate) Redeclares org. Doc from org. Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate.
| |
| selectWithIndex | back to summary |
|---|---|
| public default ImmutableLongList selectWithIndex(LongIntPredicate predicate) Overrides default org. Returns a new ImmutableLongList including all elements with corresponding indexes matching the specified predicate.
| |
| subList | back to summary |
|---|---|
| public ImmutableLongList subList(int fromIndex, int toIndex) Redeclares org.
| |
| tap | back to summary |
|---|---|
| public default ImmutableLongList tap(LongProcedure procedure) Overrides default org.
| |
| toReversed | back to summary |
|---|---|
| public ImmutableLongList toReversed() Redeclares org.
| |
| zip | back to summary |
|---|---|
| public default <T> ImmutableList Overrides default org. Returns an
| |
| zipLong | back to summary |
|---|---|
| public default ImmutableList Overrides default org. Returns an
| |