| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag API.
|
| org.eclipse.collections.api.bag.sorted |
This package contains interfaces for SortedBag API.
|
| org.eclipse.collections.api.collection | |
| org.eclipse.collections.api.factory.map.primitive | |
| org.eclipse.collections.api.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| 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.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.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| org.eclipse.collections.api.ordered | |
| org.eclipse.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set. |
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
ShortIterable |
RichIterable.collectShort(ShortFunction<? super T> shortFunction)
Returns a new primitive
short iterable with the results of applying the specified function on each element
of the source collection. |
LazyShortIterable |
LazyIterable.collectShort(ShortFunction<? super T> shortFunction)
Returns a lazy ShortIterable which will transform the underlying iterable data to short values based on the shortFunction.
|
<R extends MutableShortCollection> |
RichIterable.collectShort(ShortFunction<? super T> shortFunction,
R target)
Same as
RichIterable.collectShort(ShortFunction), except that the results are gathered into the specified target
collection. |
| Modifier and Type | Method and Description |
|---|---|
ShortBag |
UnsortedBag.collectShort(ShortFunction<? super T> shortFunction) |
MutableShortBag |
MutableBag.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortBag |
ImmutableBag.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ShortList |
SortedBag.collectShort(ShortFunction<? super T> shortFunction) |
MutableShortList |
MutableSortedBag.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortList |
ImmutableSortedBag.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
MutableShortCollection |
MutableCollection.collectShort(ShortFunction<? super T> shortFunction)
Returns a new primitive
short iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableShortCollection |
ImmutableCollection.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteShortMap |
MutableByteShortMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableByteShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteShortMap |
ImmutableByteShortMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableByteShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharShortMap |
MutableCharShortMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableCharShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharShortMap |
ImmutableCharShortMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableCharShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableDoubleShortMap |
MutableDoubleShortMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableDoubleShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleShortMap |
ImmutableDoubleShortMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableDoubleShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatShortMap |
MutableFloatShortMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableFloatShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatShortMap |
ImmutableFloatShortMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableFloatShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> MutableObjectShortMap<K> |
MutableObjectShortMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectShortMap<K> |
ImmutableObjectShortMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableObjectShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntShortMap |
MutableIntShortMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntShortMap |
ImmutableIntShortMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableIntShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongShortMap |
MutableLongShortMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableLongShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongShortMap |
ImmutableLongShortMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableLongShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortBooleanMap |
MutableShortBooleanMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableShortBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortBooleanMap |
ImmutableShortBooleanMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableShortBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortByteMap |
MutableShortByteMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableShortByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortByteMap |
ImmutableShortByteMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableShortByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortCharMap |
MutableShortCharMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableShortCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortCharMap |
ImmutableShortCharMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableShortCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortDoubleMap |
MutableShortDoubleMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableShortDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortDoubleMap |
ImmutableShortDoubleMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableShortDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortFloatMap |
MutableShortFloatMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableShortFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortFloatMap |
ImmutableShortFloatMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableShortFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> MutableShortObjectMap<V> |
MutableShortObjectMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> ImmutableShortObjectMap<V> |
ImmutableShortObjectMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableShortObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortIntMap |
MutableShortIntMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortIntMap |
ImmutableShortIntMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableShortIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortLongMap |
MutableShortLongMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableShortLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortLongMap |
ImmutableShortLongMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableShortLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortShortMap |
MutableShortShortMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableShortShortMap |
MutableShortShortMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
MutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortShortMap |
ImmutableShortShortMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableShortShortMap |
ImmutableShortShortMapFactory.from(Iterable<T> iterable,
ShortFunction<? super T> keyFunction,
ShortFunction<? super T> valueFunction)
Creates an
ImmutableShortShortMap from an Iterable<T> by applying keyFunction and valueFunction. |
| Modifier and Type | Method and Description |
|---|---|
MutableShortList |
MutableList.collectShort(ShortFunction<? super T> shortFunction) |
ShortList |
ListIterable.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortList |
ImmutableList.collectShort(ShortFunction<? super T> shortFunction) |
MutableList<T> |
MutableList.sortThisByShort(ShortFunction<? super T> function) |
MultiReaderList<T> |
MultiReaderList.sortThisByShort(ShortFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
ShortBag |
UnsortedMapIterable.collectShort(ShortFunction<? super V> shortFunction) |
ShortList |
OrderedMap.collectShort(ShortFunction<? super V> shortFunction) |
MutableShortList |
MutableOrderedMap.collectShort(ShortFunction<? super V> shortFunction) |
MutableShortBag |
MutableMap.collectShort(ShortFunction<? super V> shortFunction) |
ImmutableShortList |
ImmutableOrderedMap.collectShort(ShortFunction<? super V> shortFunction) |
ImmutableShortBag |
ImmutableMap.collectShort(ShortFunction<? super V> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ShortBag |
PrimitiveObjectMap.collectShort(ShortFunction<? super V> shortFunction) |
MutableShortBag |
MutablePrimitiveObjectMap.collectShort(ShortFunction<? super V> shortFunction) |
ImmutableShortBag |
ImmutablePrimitiveObjectMap.collectShort(ShortFunction<? super V> shortFunction) |
<P> short |
MutableByteShortMap.getIfAbsentPutWith(byte key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableCharShortMap.getIfAbsentPutWith(char key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableDoubleShortMap.getIfAbsentPutWith(double key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableFloatShortMap.getIfAbsentPutWith(float key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableIntShortMap.getIfAbsentPutWith(int key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableObjectShortMap.getIfAbsentPutWith(K key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableLongShortMap.getIfAbsentPutWith(long key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
<P> short |
MutableShortShortMap.getIfAbsentPutWith(short key,
ShortFunction<? super P> function,
P parameter)
Retrieves the value associated with the key if one exists; if it does not,
invokes the value function with the parameter and associates the result with the key.
|
short |
MutableObjectShortMap.getIfAbsentPutWithKey(K key,
ShortFunction<? super K> 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 |
|---|---|
ShortList |
SortedMapIterable.collectShort(ShortFunction<? super V> shortFunction) |
MutableShortList |
MutableSortedMap.collectShort(ShortFunction<? super V> shortFunction) |
ImmutableShortList |
ImmutableSortedMap.collectShort(ShortFunction<? super V> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleShortIterable |
ReversibleIterable.collectShort(ShortFunction<? super T> shortFunction) |
OrderedShortIterable |
OrderedIterable.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ShortSet |
UnsortedSetIterable.collectShort(ShortFunction<? super T> shortFunction) |
MutableShortSet |
MutableSet.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortSet |
ImmutableSet.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ShortList |
SortedSetIterable.collectShort(ShortFunction<? super T> shortFunction) |
MutableShortList |
MutableSortedSet.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortList |
ImmutableSortedSet.collectShort(ShortFunction<? super T> shortFunction) |
| Modifier and Type | Method and Description |
|---|---|
ShortStack |
StackIterable.collectShort(ShortFunction<? super T> shortFunction) |
MutableShortStack |
MutableStack.collectShort(ShortFunction<? super T> shortFunction) |
ImmutableShortStack |
ImmutableStack.collectShort(ShortFunction<? super T> shortFunction) |
Copyright © 2004–2021. All rights reserved.