| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
| org.eclipse.collections.api.collection.primitive |
This package contains mutable and immutable primitive collection API.
|
| org.eclipse.collections.api.list.primitive |
This package contains mutable and immutable primitive list API.
|
| org.eclipse.collections.api.map.primitive |
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
|
| org.eclipse.collections.api.ordered.primitive | |
| org.eclipse.collections.api.set.primitive |
This package contains API for mutable and immutable primitive sets.
|
| org.eclipse.collections.api.stack.primitive |
This package contains mutable and immutable primitive stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<V> RichIterable<V> |
ShortIterable.collect(ShortToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
<V> LazyIterable<V> |
LazyShortIterable.collect(ShortToObjectFunction<? extends V> function) |
default <V,R extends Collection<V>> |
ShortIterable.collect(ShortToObjectFunction<? extends V> function,
R target)
Same as
ShortIterable.collect(ShortToObjectFunction) , only the results are added to the target Collection. |
<V> LazyIterable<V> |
LazyShortIterable.flatCollect(ShortToObjectFunction<? extends Iterable<V>> function) |
default <V,R extends Collection<V>> |
ShortIterable.flatCollect(ShortToObjectFunction<? extends Iterable<V>> function,
R target)
flatCollect is a special case of ShortIterable.collect(ShortToObjectFunction). |
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
ShortBag.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableShortBag.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableShortBag.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableShortCollection.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableCollection<V> |
ImmutableShortCollection.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
ShortList.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableList<V> |
MutableShortList.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableShortList.collect(ShortToObjectFunction<? extends V> function) |
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. |
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
ShortValuesMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableShortValuesMap.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableCharShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableByteShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableShortShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableLongShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableDoubleShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableFloatShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableIntShortMap.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableCollection<V> |
ImmutableObjectShortMap.collect(ShortToObjectFunction<? extends V> function) |
V |
MutableShortObjectMap.getIfAbsentPutWithKey(short key,
ShortToObjectFunction<? extends V> function)
Retrieves the value associated with the key if one exists; if it does not,
associates the result of invoking the value function with the key.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ReversibleIterable<V> |
ReversibleShortIterable.collect(ShortToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedShortIterable.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> SetIterable<V> |
ShortSet.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableShortSet.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableShortSet.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
ShortStack.collect(ShortToObjectFunction<? extends V> function) |
<V> MutableStack<V> |
MutableShortStack.collect(ShortToObjectFunction<? extends V> function) |
<V> ImmutableStack<V> |
ImmutableShortStack.collect(ShortToObjectFunction<? extends V> function) |
Copyright © 2004–2020. All rights reserved.