| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| org.eclipse.collections.api.factory.list.primitive |
This package contains factory API for creating immutable primitive list instances.
|
| org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| org.eclipse.collections.api.list.primitive |
This package contains mutable and immutable primitive list API.
|
| org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
| org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
LongIterable.toList()
Converts the LongIterable to a new MutableLongList.
|
MutableLongList |
LongIterable.toSortedList() |
default MutableLongList |
LongIterable.toSortedList(LongComparator comparator)
Converts the collection to a MutableLongList implementation sorted using the provided comparator.
|
default <T> MutableLongList |
LongIterable.toSortedListBy(LongToObjectFunction<T> function)
Converts the collection to a MutableLongListImplementation sorted based on the natural order of the key returned
by
function. |
default <T> MutableLongList |
LongIterable.toSortedListBy(LongToObjectFunction<T> function,
Comparator<? super T> comparator)
Converts the collection to a MutableLongList implementation, which is sorted based on the key returned by
function using the provided comparator. |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableSortedBag.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableLongListFactory.empty() |
MutableLongList |
MutableLongListFactory.of()
Same as
MutableLongListFactory.empty(). |
MutableLongList |
MutableLongListFactory.of(long... items)
Same as
MutableLongListFactory.with(long[]). |
MutableLongList |
MutableLongListFactory.ofAll(Iterable<Long> iterable)
|
MutableLongList |
MutableLongListFactory.ofAll(LongIterable items)
|
MutableLongList |
MutableLongListFactory.ofAll(LongStream items) |
MutableLongList |
MutableLongListFactory.with()
Same as
MutableLongListFactory.empty(). |
MutableLongList |
MutableLongListFactory.with(long... items)
Creates a new list using the passed
items argument as the backing store. |
MutableLongList |
MutableLongListFactory.withAll(Iterable<Long> iterable) |
MutableLongList |
MutableLongListFactory.withAll(LongIterable items) |
MutableLongList |
MutableLongListFactory.withAll(LongStream items) |
default MutableLongList |
MutableLongListFactory.withInitialCapacity(int capacity)
Same as
MutableLongListFactory.empty(). |
default MutableLongList |
MutableLongListFactory.wrapCopy(long... array)
Creates a new list by first copying the array passed in.
|
| Modifier and Type | Method and Description |
|---|---|
default MutableLongList |
MutableList.collectLong(LongFunction<? super T> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableLongList.asSynchronized() |
MutableLongList |
MutableLongList.asUnmodifiable() |
MutableLongList |
MutableLongList.distinct() |
default MutableLongList |
MutableLongList.newEmpty()
Creates a new empty mutable version of the same List type.
|
MutableLongList |
MutableLongList.reject(LongPredicate predicate) |
default MutableLongList |
MutableLongList.rejectWithIndex(LongIntPredicate predicate)
Returns a new MutableLongList excluding all elements with corresponding indexes matching the specified predicate.
|
MutableLongList |
MutableLongList.reverseThis() |
MutableLongList |
MutableLongList.select(LongPredicate predicate) |
default MutableLongList |
MutableLongList.selectWithIndex(LongIntPredicate predicate)
Returns a new MutableLongList including all elements with corresponding indexes matching the specified predicate.
|
default MutableLongList |
MutableLongList.shuffleThis()
Randomly permutes this list mutating its contents and returns the same list (this).
|
default MutableLongList |
MutableLongList.shuffleThis(Random rnd)
Randomly permutes this list mutating its contents and returns the same list (this).
|
MutableLongList |
MutableLongList.sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
default MutableLongList |
MutableLongList.sortThis(LongComparator comparator)
Sorts the internal data structure of this list and returns the list itself as a convenience.
|
default <T> MutableLongList |
MutableLongList.sortThisBy(LongToObjectFunction<T> function)
Sorts the internal data structure of this list based on the natural order of the key returned by
function. |
default <T> MutableLongList |
MutableLongList.sortThisBy(LongToObjectFunction<T> function,
Comparator<? super T> comparator)
Sorts the internal data structure of this list based on the key returned by
function using the provided comparator. |
MutableLongList |
MutableLongList.subList(int fromIndex,
int toIndex) |
default MutableLongList |
MutableLongList.tap(LongProcedure procedure) |
MutableLongList |
MutableLongList.toReversed() |
MutableLongList |
MutableLongList.with(long element) |
MutableLongList |
MutableLongList.withAll(LongIterable elements) |
MutableLongList |
MutableLongList.without(long element) |
MutableLongList |
MutableLongList.withoutAll(LongIterable elements) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableOrderedMap.collectLong(LongFunction<? super V> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableSortedMap.collectLong(LongFunction<? super V> longFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableLongList |
MutableSortedSet.collectLong(LongFunction<? super T> longFunction) |
Copyright © 2004–2023. All rights reserved.