| 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 |
|---|---|
BooleanIterable |
RichIterable.collectBoolean(BooleanFunction<? super T> booleanFunction)
Returns a new primitive
boolean iterable with the results of applying the specified function on each element
of the source collection. |
LazyBooleanIterable |
LazyIterable.collectBoolean(BooleanFunction<? super T> booleanFunction)
Returns a lazy BooleanIterable which will transform the underlying iterable data to boolean values based on the booleanFunction.
|
default <R extends MutableBooleanCollection> |
RichIterable.collectBoolean(BooleanFunction<? super T> booleanFunction,
R target)
Same as
RichIterable.collectBoolean(BooleanFunction), except that the results are gathered into the specified target
collection. |
| Modifier and Type | Method and Description |
|---|---|
BooleanBag |
UnsortedBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
default MutableBooleanBag |
MutableBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanBag |
ImmutableBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanList |
SortedBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
MutableBooleanList |
MutableSortedBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanList |
ImmutableSortedBag.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
default MutableBooleanCollection |
MutableCollection.collectBoolean(BooleanFunction<? super T> booleanFunction)
Returns a new primitive
boolean iterable with the results of applying the specified function on each element
of the source collection. |
ImmutableBooleanCollection |
ImmutableCollection.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
<T> MutableByteBooleanMap |
MutableByteBooleanMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableByteBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableByteBooleanMap |
ImmutableByteBooleanMapFactory.from(Iterable<T> iterable,
ByteFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableByteBooleanMap 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> MutableDoubleBooleanMap |
MutableDoubleBooleanMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableDoubleBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableDoubleBooleanMap |
ImmutableDoubleBooleanMapFactory.from(Iterable<T> iterable,
DoubleFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableDoubleBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableFloatBooleanMap |
MutableFloatBooleanMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableFloatBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableFloatBooleanMap |
ImmutableFloatBooleanMapFactory.from(Iterable<T> iterable,
FloatFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableFloatBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> MutableObjectBooleanMap<K> |
MutableObjectBooleanMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableObjectBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T,K> ImmutableObjectBooleanMap<K> |
ImmutableObjectBooleanMapFactory.from(Iterable<T> iterable,
Function<? super T,? extends K> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableObjectBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableIntBooleanMap |
MutableIntBooleanMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableIntBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableIntBooleanMap |
ImmutableIntBooleanMapFactory.from(Iterable<T> iterable,
IntFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableIntBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> MutableLongBooleanMap |
MutableLongBooleanMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
MutableLongBooleanMap from an Iterable<T> by applying keyFunction and valueFunction. |
<T> ImmutableLongBooleanMap |
ImmutableLongBooleanMapFactory.from(Iterable<T> iterable,
LongFunction<? super T> keyFunction,
BooleanFunction<? super T> valueFunction)
Creates an
ImmutableLongBooleanMap 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. |
| Modifier and Type | Method and Description |
|---|---|
default MutableBooleanList |
MutableList.collectBoolean(BooleanFunction<? super T> booleanFunction) |
BooleanList |
ListIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanList |
ImmutableList.collectBoolean(BooleanFunction<? super T> booleanFunction) |
MutableList<T> |
MutableList.sortThisByBoolean(BooleanFunction<? super T> function) |
MultiReaderList<T> |
MultiReaderList.sortThisByBoolean(BooleanFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
BooleanBag |
UnsortedMapIterable.collectBoolean(BooleanFunction<? super V> booleanFunction) |
BooleanList |
OrderedMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableBooleanList |
MutableOrderedMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableBooleanBag |
MutableMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
ImmutableBooleanList |
ImmutableOrderedMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
ImmutableBooleanBag |
ImmutableMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanBag |
PrimitiveObjectMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableBooleanBag |
MutablePrimitiveObjectMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
ImmutableBooleanBag |
ImmutablePrimitiveObjectMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
<P> boolean |
MutableByteBooleanMap.getIfAbsentPutWith(byte key,
BooleanFunction<? 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> boolean |
MutableCharBooleanMap.getIfAbsentPutWith(char key,
BooleanFunction<? 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> boolean |
MutableDoubleBooleanMap.getIfAbsentPutWith(double key,
BooleanFunction<? 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> boolean |
MutableFloatBooleanMap.getIfAbsentPutWith(float key,
BooleanFunction<? 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> boolean |
MutableIntBooleanMap.getIfAbsentPutWith(int key,
BooleanFunction<? 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> boolean |
MutableObjectBooleanMap.getIfAbsentPutWith(K key,
BooleanFunction<? 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> boolean |
MutableLongBooleanMap.getIfAbsentPutWith(long key,
BooleanFunction<? 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> boolean |
MutableShortBooleanMap.getIfAbsentPutWith(short key,
BooleanFunction<? 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.
|
boolean |
MutableObjectBooleanMap.getIfAbsentPutWithKey(K key,
BooleanFunction<? 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 |
|---|---|
BooleanList |
SortedMapIterable.collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableBooleanList |
MutableSortedMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
ImmutableBooleanList |
ImmutableSortedMap.collectBoolean(BooleanFunction<? super V> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
ReversibleBooleanIterable |
ReversibleIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
OrderedBooleanIterable |
OrderedIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanSet |
UnsortedSetIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
default MutableBooleanSet |
MutableSet.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanSet |
ImmutableSet.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanList |
SortedSetIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
MutableBooleanList |
MutableSortedSet.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanList |
ImmutableSortedSet.collectBoolean(BooleanFunction<? super T> booleanFunction) |
| Modifier and Type | Method and Description |
|---|---|
BooleanStack |
StackIterable.collectBoolean(BooleanFunction<? super T> booleanFunction) |
MutableBooleanStack |
MutableStack.collectBoolean(BooleanFunction<? super T> booleanFunction) |
ImmutableBooleanStack |
ImmutableStack.collectBoolean(BooleanFunction<? super T> booleanFunction) |
Copyright © 2004–2022. All rights reserved.