| 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 |
|---|---|
MutableShortList |
ShortIterable.toList()
Converts the ShortIterable to a new MutableShortList.
|
MutableShortList |
ShortIterable.toSortedList() |
default MutableShortList |
ShortIterable.toSortedList(ShortComparator comparator)
Converts the collection to a MutableShortList implementation sorted using the provided comparator.
|
default <T> MutableShortList |
ShortIterable.toSortedListBy(ShortToObjectFunction<T> function)
Converts the collection to a MutableShortListImplementation sorted based on the natural order of the key returned
by
function. |
default <T> MutableShortList |
ShortIterable.toSortedListBy(ShortToObjectFunction<T> function,
Comparator<? super T> comparator)
Converts the collection to a MutableShortList implementation, which is sorted based on the key returned by
function using the provided comparator. |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableSortedBag.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableShortListFactory.empty() |
MutableShortList |
MutableShortListFactory.of()
Same as
MutableShortListFactory.empty(). |
MutableShortList |
MutableShortListFactory.of(short... items)
|
MutableShortList |
MutableShortListFactory.ofAll(Iterable<Short> iterable)
|
MutableShortList |
MutableShortListFactory.ofAll(ShortIterable items)
|
MutableShortList |
MutableShortListFactory.with()
Same as
MutableShortListFactory.empty(). |
MutableShortList |
MutableShortListFactory.with(short... items)
Creates a new list using the passed
items argument as the backing store. |
MutableShortList |
MutableShortListFactory.withAll(Iterable<Short> iterable) |
MutableShortList |
MutableShortListFactory.withAll(ShortIterable items) |
default MutableShortList |
MutableShortListFactory.withInitialCapacity(int capacity)
Same as
MutableShortListFactory.empty(). |
default MutableShortList |
MutableShortListFactory.wrapCopy(short... array)
Creates a new list by first copying the array passed in.
|
| Modifier and Type | Method and Description |
|---|---|
default MutableShortList |
MutableList.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableShortList.asSynchronized() |
MutableShortList |
MutableShortList.asUnmodifiable() |
MutableShortList |
MutableShortList.distinct() |
default MutableShortList |
MutableShortList.newEmpty()
Creates a new empty mutable version of the same List type.
|
MutableShortList |
MutableShortList.reject(ShortPredicate predicate) |
default MutableShortList |
MutableShortList.rejectWithIndex(ShortIntPredicate predicate)
Returns a new MutableShortList excluding all elements with corresponding indexes matching the specified predicate.
|
MutableShortList |
MutableShortList.reverseThis() |
MutableShortList |
MutableShortList.select(ShortPredicate predicate) |
default MutableShortList |
MutableShortList.selectWithIndex(ShortIntPredicate predicate)
Returns a new MutableShortList including all elements with corresponding indexes matching the specified predicate.
|
default MutableShortList |
MutableShortList.shuffleThis()
Randomly permutes this list mutating its contents and returns the same list (this).
|
default MutableShortList |
MutableShortList.shuffleThis(Random rnd)
Randomly permutes this list mutating its contents and returns the same list (this).
|
MutableShortList |
MutableShortList.sortThis()
Sorts this list mutating its contents and returns the same mutable list (this).
|
default MutableShortList |
MutableShortList.sortThis(ShortComparator comparator)
Sorts the internal data structure of this list and returns the list itself as a convenience.
|
default <T> MutableShortList |
MutableShortList.sortThisBy(ShortToObjectFunction<T> function)
Sorts the internal data structure of this list based on the natural order of the key returned by
function. |
default <T> MutableShortList |
MutableShortList.sortThisBy(ShortToObjectFunction<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. |
MutableShortList |
MutableShortList.subList(int fromIndex,
int toIndex) |
default MutableShortList |
MutableShortList.tap(ShortProcedure procedure) |
MutableShortList |
MutableShortList.toReversed() |
MutableShortList |
MutableShortList.with(short element) |
MutableShortList |
MutableShortList.withAll(ShortIterable elements) |
MutableShortList |
MutableShortList.without(short element) |
MutableShortList |
MutableShortList.withoutAll(ShortIterable elements) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableOrderedMap.collectShort(ShortFunction<? super V> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableSortedMap.collectShort(ShortFunction<? super V> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableSortedSet.collectShort(ShortFunction<? super T> shortFunction) |
Copyright © 2004–2023. All rights reserved.