| 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 |
|---|---|
CharIterable |
RichIterable.collectChar(CharFunction<? super T> charFunction)
Returns a new primitive
char iterable with the results of applying the specified function on each element
of the source collection. |
LazyCharIterable |
LazyIterable.collectChar(CharFunction<? super T> charFunction)
Returns a lazy CharIterable which will transform the underlying iterable data to char values based on the charFunction.
|
default <R extends MutableCharCollection> |
RichIterable.collectChar(CharFunction<? super T> charFunction,
R target)
Same as
RichIterable.collectChar(CharFunction), except that the results are gathered into the specified target
collection. |
| Modifier and Type | Method and Description |
|---|---|
CharBag |
UnsortedBag.collectChar(CharFunction<? super T> charFunction) |
default MutableCharBag |
MutableBag.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharBag |
ImmutableBag.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
CharList |
SortedBag.collectChar(CharFunction<? super T> charFunction) |
MutableCharList |
MutableSortedBag.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharList |
ImmutableSortedBag.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
default MutableCharCollection |
MutableCollection.collectChar(CharFunction<? super T> charFunction)
Returns a new primitive
char iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableCharCollection |
ImmutableCollection.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteCharMap |
MutableByteCharMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableByteCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteCharMap |
ImmutableByteCharMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableByteCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharBooleanMap |
MutableCharBooleanMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableCharBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharBooleanMap |
ImmutableCharBooleanMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableCharBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharByteMap |
MutableCharByteMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
MutableCharByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharByteMap |
ImmutableCharByteMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
ByteFunction<? super T> valueFunction)
Creates an
ImmutableCharByteMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharCharMap |
MutableCharCharMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharCharMap |
MutableCharCharMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharCharMap |
ImmutableCharCharMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharCharMap |
ImmutableCharCharMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableCharCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharDoubleMap |
MutableCharDoubleMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
MutableCharDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharDoubleMap |
ImmutableCharDoubleMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
DoubleFunction<? super T> valueFunction)
Creates an
ImmutableCharDoubleMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharFloatMap |
MutableCharFloatMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
MutableCharFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharFloatMap |
ImmutableCharFloatMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
FloatFunction<? super T> valueFunction)
Creates an
ImmutableCharFloatMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> MutableCharObjectMap<V> |
MutableCharObjectMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
MutableCharObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,V> ImmutableCharObjectMap<V> |
ImmutableCharObjectMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
Function<? super T,? extends V> valueFunction)
Creates an
ImmutableCharObjectMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharIntMap |
MutableCharIntMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
MutableCharIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharIntMap |
ImmutableCharIntMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
IntFunction<? super T> valueFunction)
Creates an
ImmutableCharIntMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableCharLongMap |
MutableCharLongMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
MutableCharLongMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableCharLongMap |
ImmutableCharLongMapFactory.from(Iterable<T> iterable,
CharFunction<? super T> keyFunction,
LongFunction<? super T> valueFunction)
Creates an
ImmutableCharLongMap 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> MutableDoubleCharMap |
MutableDoubleCharMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableDoubleCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleCharMap |
ImmutableDoubleCharMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableDoubleCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatCharMap |
MutableFloatCharMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableFloatCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatCharMap |
ImmutableFloatCharMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableFloatCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> MutableObjectCharMap<K> |
MutableObjectCharMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableObjectCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectCharMap<K> |
ImmutableObjectCharMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableObjectCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntCharMap |
MutableIntCharMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntCharMap |
ImmutableIntCharMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableIntCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongCharMap |
MutableLongCharMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
MutableLongCharMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongCharMap |
ImmutableLongCharMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
CharFunction<? super T> valueFunction)
Creates an
ImmutableLongCharMap 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. |
| Modifier and Type | Method and Description |
|---|---|
default MutableCharList |
MutableList.collectChar(CharFunction<? super T> charFunction) |
CharList |
ListIterable.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharList |
ImmutableList.collectChar(CharFunction<? super T> charFunction) |
MutableList<T> |
MutableList.sortThisByChar(CharFunction<? super T> function) |
MultiReaderList<T> |
MultiReaderList.sortThisByChar(CharFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
CharBag |
UnsortedMapIterable.collectChar(CharFunction<? super V> charFunction) |
CharList |
OrderedMap.collectChar(CharFunction<? super V> charFunction) |
MutableCharList |
MutableOrderedMap.collectChar(CharFunction<? super V> charFunction) |
MutableCharBag |
MutableMap.collectChar(CharFunction<? super V> charFunction) |
ImmutableCharList |
ImmutableOrderedMap.collectChar(CharFunction<? super V> charFunction) |
ImmutableCharBag |
ImmutableMap.collectChar(CharFunction<? super V> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
CharBag |
PrimitiveObjectMap.collectChar(CharFunction<? super V> charFunction) |
MutableCharBag |
MutablePrimitiveObjectMap.collectChar(CharFunction<? super V> charFunction) |
ImmutableCharBag |
ImmutablePrimitiveObjectMap.collectChar(CharFunction<? super V> charFunction) |
<P> char |
MutableByteCharMap.getIfAbsentPutWith(byte key,
CharFunction<? 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> char |
MutableCharCharMap.getIfAbsentPutWith(char key,
CharFunction<? 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> char |
MutableDoubleCharMap.getIfAbsentPutWith(double key,
CharFunction<? 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> char |
MutableFloatCharMap.getIfAbsentPutWith(float key,
CharFunction<? 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> char |
MutableIntCharMap.getIfAbsentPutWith(int key,
CharFunction<? 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> char |
MutableObjectCharMap.getIfAbsentPutWith(K key,
CharFunction<? 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> char |
MutableLongCharMap.getIfAbsentPutWith(long key,
CharFunction<? 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> char |
MutableShortCharMap.getIfAbsentPutWith(short key,
CharFunction<? 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.
|
char |
MutableObjectCharMap.getIfAbsentPutWithKey(K key,
CharFunction<? 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 |
|---|---|
CharList |
SortedMapIterable.collectChar(CharFunction<? super V> charFunction) |
MutableCharList |
MutableSortedMap.collectChar(CharFunction<? super V> charFunction) |
ImmutableCharList |
ImmutableSortedMap.collectChar(CharFunction<? super V> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleCharIterable |
ReversibleIterable.collectChar(CharFunction<? super T> charFunction) |
OrderedCharIterable |
OrderedIterable.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
CharSet |
UnsortedSetIterable.collectChar(CharFunction<? super T> charFunction) |
default MutableCharSet |
MutableSet.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharSet |
ImmutableSet.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
CharList |
SortedSetIterable.collectChar(CharFunction<? super T> charFunction) |
MutableCharList |
MutableSortedSet.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharList |
ImmutableSortedSet.collectChar(CharFunction<? super T> charFunction) |
| Modifier and Type | Method and Description |
|---|---|
CharStack |
StackIterable.collectChar(CharFunction<? super T> charFunction) |
MutableCharStack |
MutableStack.collectChar(CharFunction<? super T> charFunction) |
ImmutableCharStack |
ImmutableStack.collectChar(CharFunction<? super T> charFunction) |
Copyright © 2004–2023. All rights reserved.