| 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.bimap |
This package contains interfaces for BiMap API.
|
| org.eclipse.collections.api.collection | |
| 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 |
|---|---|
boolean |
RichIterable.allSatisfy(Predicate<? super T> predicate)
Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty.
|
boolean |
ParallelIterable.allSatisfy(Predicate<? super T> predicate) |
boolean |
RichIterable.anySatisfy(Predicate<? super T> predicate)
Returns true if the predicate evaluates to true for any element of the iterable.
|
boolean |
ParallelIterable.anySatisfy(Predicate<? super T> predicate) |
<V> RichIterable<V> |
RichIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection, but only for those elements which return true upon evaluation of the predicate.
|
<V> ParallelIterable<V> |
ParallelIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
<V> LazyIterable<V> |
LazyIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a deferred iterable for selecting and collecting elements from the current iterable.
|
<V,R extends Collection<V>> |
RichIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function,
R target)
Same as the collectIf method with two parameters but uses the specified target collection for the results.
|
int |
RichIterable.count(Predicate<? super T> predicate)
Return the total number of elements that answer true to the specified predicate.
|
int |
ParallelIterable.count(Predicate<? super T> predicate) |
T |
RichIterable.detect(Predicate<? super T> predicate)
Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no
element returns true.
|
T |
ParallelIterable.detect(Predicate<? super T> predicate) |
default T |
RichIterable.detectIfNone(Predicate<? super T> predicate,
Function0<? extends T> function)
Returns the first element of the iterable for which the predicate evaluates to true.
|
T |
ParallelIterable.detectIfNone(Predicate<? super T> predicate,
Function0<? extends T> function) |
Optional<T> |
RichIterable.detectOptional(Predicate<? super T> predicate)
Returns the first element of the iterable for which the predicate evaluates to true as an Optional.
|
LazyIterable<T> |
LazyIterable.dropWhile(Predicate<? super T> predicate) |
boolean |
RichIterable.noneSatisfy(Predicate<? super T> predicate)
Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty.
|
boolean |
ParallelIterable.noneSatisfy(Predicate<? super T> predicate) |
PartitionIterable<T> |
RichIterable.partition(Predicate<? super T> predicate)
Filters a collection into a PartitionedIterable based on the evaluation of the predicate.
|
RichIterable<T> |
RichIterable.reject(Predicate<? super T> predicate)
Returns all elements of the source collection that return false when evaluating of the predicate.
|
ParallelIterable<T> |
ParallelIterable.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
LazyIterable<T> |
LazyIterable.reject(Predicate<? super T> predicate)
Creates a deferred iterable for rejecting elements from the current iterable.
|
<R extends Collection<T>> |
RichIterable.reject(Predicate<? super T> predicate,
R target)
Same as the reject method with one parameter but uses the specified target collection for the results.
|
RichIterable<T> |
RichIterable.select(Predicate<? super T> predicate)
Returns all elements of the source collection that return true when evaluating the predicate.
|
ParallelIterable<T> |
ParallelIterable.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
LazyIterable<T> |
LazyIterable.select(Predicate<? super T> predicate)
Creates a deferred iterable for selecting elements from the current iterable.
|
<R extends Collection<T>> |
RichIterable.select(Predicate<? super T> predicate,
R target)
Same as the select method with one parameter but uses the specified target collection for the results.
|
LazyIterable<T> |
LazyIterable.takeWhile(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedBag<V> |
UnsortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ParallelUnsortedBag<V> |
ParallelUnsortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
<V> MutableBag<V> |
MutableBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableBag<V> |
ImmutableBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
PartitionUnsortedBag<T> |
UnsortedBag.partition(Predicate<? super T> predicate) |
PartitionMutableBagIterable<T> |
MutableBagIterable.partition(Predicate<? super T> predicate) |
PartitionMutableBag<T> |
MutableBag.partition(Predicate<? super T> predicate) |
PartitionImmutableBagIterable<T> |
ImmutableBagIterable.partition(Predicate<? super T> predicate) |
PartitionImmutableBag<T> |
ImmutableBag.partition(Predicate<? super T> predicate) |
PartitionBag<T> |
Bag.partition(Predicate<? super T> predicate) |
UnsortedBag<T> |
UnsortedBag.reject(Predicate<? super T> predicate) |
ParallelUnsortedBag<T> |
ParallelUnsortedBag.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
ParallelBag<T> |
ParallelBag.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
MutableBagIterable<T> |
MutableBagIterable.reject(Predicate<? super T> predicate) |
MutableBag<T> |
MutableBag.reject(Predicate<? super T> predicate) |
ImmutableBagIterable<T> |
ImmutableBagIterable.reject(Predicate<? super T> predicate) |
ImmutableBag<T> |
ImmutableBag.reject(Predicate<? super T> predicate) |
Bag<T> |
Bag.reject(Predicate<? super T> predicate) |
UnsortedBag<T> |
UnsortedBag.select(Predicate<? super T> predicate) |
ParallelUnsortedBag<T> |
ParallelUnsortedBag.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
ParallelBag<T> |
ParallelBag.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
MutableBagIterable<T> |
MutableBagIterable.select(Predicate<? super T> predicate) |
MutableBag<T> |
MutableBag.select(Predicate<? super T> predicate) |
ImmutableBagIterable<T> |
ImmutableBagIterable.select(Predicate<? super T> predicate) |
ImmutableBag<T> |
ImmutableBag.select(Predicate<? super T> predicate) |
Bag<T> |
Bag.select(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
SortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ParallelListIterable<V> |
ParallelSortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
<V> MutableList<V> |
MutableSortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedBag.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
SortedBag<T> |
SortedBag.dropWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.dropWhile(Predicate<? super T> predicate) |
ImmutableSortedBag<T> |
ImmutableSortedBag.dropWhile(Predicate<? super T> predicate) |
PartitionSortedBag<T> |
SortedBag.partition(Predicate<? super T> predicate) |
PartitionMutableSortedBag<T> |
MutableSortedBag.partition(Predicate<? super T> predicate) |
PartitionImmutableSortedBag<T> |
ImmutableSortedBag.partition(Predicate<? super T> predicate) |
PartitionSortedBag<T> |
SortedBag.partitionWhile(Predicate<? super T> predicate) |
PartitionMutableSortedBag<T> |
MutableSortedBag.partitionWhile(Predicate<? super T> predicate) |
SortedBag<T> |
SortedBag.reject(Predicate<? super T> predicate) |
ParallelSortedBag<T> |
ParallelSortedBag.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
MutableSortedBag<T> |
MutableSortedBag.reject(Predicate<? super T> predicate) |
ImmutableSortedBag<T> |
ImmutableSortedBag.reject(Predicate<? super T> predicate) |
SortedBag<T> |
SortedBag.select(Predicate<? super T> predicate) |
ParallelSortedBag<T> |
ParallelSortedBag.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
MutableSortedBag<T> |
MutableSortedBag.select(Predicate<? super T> predicate) |
ImmutableSortedBag<T> |
ImmutableSortedBag.select(Predicate<? super T> predicate) |
SortedBag<T> |
SortedBag.takeWhile(Predicate<? super T> predicate) |
MutableSortedBag<T> |
MutableSortedBag.takeWhile(Predicate<? super T> predicate) |
ImmutableSortedBag<T> |
ImmutableSortedBag.takeWhile(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V1> ImmutableBagIterable<V1> |
ImmutableBiMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
PartitionMutableSet<V> |
MutableBiMap.partition(Predicate<? super V> predicate) |
PartitionImmutableSet<V> |
ImmutableBiMap.partition(Predicate<? super V> predicate) |
PartitionUnsortedSet<V> |
BiMap.partition(Predicate<? super V> predicate) |
MutableSet<V> |
MutableBiMap.reject(Predicate<? super V> predicate) |
ImmutableSet<V> |
ImmutableBiMap.reject(Predicate<? super V> predicate) |
SetIterable<V> |
BiMap.reject(Predicate<? super V> predicate) |
MutableSet<V> |
MutableBiMap.select(Predicate<? super V> predicate) |
ImmutableSet<V> |
ImmutableBiMap.select(Predicate<? super V> predicate) |
SetIterable<V> |
BiMap.select(Predicate<? super V> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableCollection.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection, but only for elements that evaluate to true for the specified predicate.
|
<V> ImmutableCollection<V> |
ImmutableCollection.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
PartitionMutableCollection<T> |
MutableCollection.partition(Predicate<? super T> predicate)
Filters a collection into a PartitionedIterable based on the evaluation of the predicate.
|
PartitionImmutableCollection<T> |
ImmutableCollection.partition(Predicate<? super T> predicate) |
MutableCollection<T> |
MutableCollection.reject(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to false for the specified predicate.
|
ImmutableCollection<T> |
ImmutableCollection.reject(Predicate<? super T> predicate) |
boolean |
MutableCollection.removeIf(Predicate<? super T> predicate)
Removes all elements in the collection that evaluate to true for the specified predicate.
|
boolean |
FixedSizeCollection.removeIf(Predicate<? super T> predicate) |
MutableCollection<T> |
MutableCollection.select(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to true for the specified predicate.
|
ImmutableCollection<T> |
ImmutableCollection.select(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> ParallelListIterable<V> |
ParallelListIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
default <V> MutableList<V> |
MutableList.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ListIterable<V> |
ListIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableList.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
MutableList<T> |
MutableList.dropWhile(Predicate<? super T> predicate) |
ListIterable<T> |
ListIterable.dropWhile(Predicate<? super T> predicate)
Returns the final elements that do not satisfy the Predicate.
|
ImmutableList<T> |
ImmutableList.dropWhile(Predicate<? super T> predicate) |
PartitionMutableList<T> |
MutableList.partition(Predicate<? super T> predicate) |
PartitionList<T> |
ListIterable.partition(Predicate<? super T> predicate) |
PartitionImmutableList<T> |
ImmutableList.partition(Predicate<? super T> predicate) |
PartitionMutableList<T> |
MutableList.partitionWhile(Predicate<? super T> predicate) |
PartitionList<T> |
ListIterable.partitionWhile(Predicate<? super T> predicate)
Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.
|
PartitionImmutableList<T> |
ImmutableList.partitionWhile(Predicate<? super T> predicate) |
ParallelListIterable<T> |
ParallelListIterable.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
default MutableList<T> |
MutableList.reject(Predicate<? super T> predicate) |
ListIterable<T> |
ListIterable.reject(Predicate<? super T> predicate) |
ImmutableList<T> |
ImmutableList.reject(Predicate<? super T> predicate) |
ParallelListIterable<T> |
ParallelListIterable.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
default MutableList<T> |
MutableList.select(Predicate<? super T> predicate) |
ListIterable<T> |
ListIterable.select(Predicate<? super T> predicate) |
ImmutableList<T> |
ImmutableList.select(Predicate<? super T> predicate) |
MutableList<T> |
MutableList.takeWhile(Predicate<? super T> predicate) |
ListIterable<T> |
ListIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
ImmutableList<T> |
ImmutableList.takeWhile(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<R> MutableBag<R> |
MutableMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<R> ImmutableBag<R> |
ImmutableMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<V1> Bag<V1> |
UnsortedMapIterable.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
<V1> ListIterable<V1> |
OrderedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
<V1> MutableList<V1> |
MutableOrderedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
<V1> ImmutableList<V1> |
ImmutableOrderedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
OrderedMap<K,V> |
OrderedMap.dropWhile(Predicate<? super V> predicate) |
MutableOrderedMap<K,V> |
MutableOrderedMap.dropWhile(Predicate<? super V> predicate) |
ImmutableOrderedMap<K,V> |
ImmutableOrderedMap.dropWhile(Predicate<? super V> predicate) |
PartitionBag<V> |
UnsortedMapIterable.partition(Predicate<? super V> predicate) |
PartitionList<V> |
OrderedMap.partition(Predicate<? super V> predicate) |
PartitionMutableList<V> |
MutableOrderedMap.partition(Predicate<? super V> predicate) |
PartitionMutableCollection<V> |
MutableMapIterable.partition(Predicate<? super V> predicate) |
PartitionMutableBag<V> |
MutableMap.partition(Predicate<? super V> predicate) |
PartitionImmutableList<V> |
ImmutableOrderedMap.partition(Predicate<? super V> predicate) |
PartitionImmutableCollection<V> |
ImmutableMapIterable.partition(Predicate<? super V> predicate) |
PartitionImmutableBag<V> |
ImmutableMap.partition(Predicate<? super V> predicate) |
PartitionList<V> |
OrderedMap.partitionWhile(Predicate<? super V> predicate) |
PartitionMutableList<V> |
MutableOrderedMap.partitionWhile(Predicate<? super V> predicate) |
PartitionImmutableList<V> |
ImmutableOrderedMap.partitionWhile(Predicate<? super V> predicate) |
Bag<V> |
UnsortedMapIterable.reject(Predicate<? super V> predicate) |
ListIterable<V> |
OrderedMap.reject(Predicate<? super V> predicate) |
MutableList<V> |
MutableOrderedMap.reject(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableMapIterable.reject(Predicate<? super V> predicate) |
MutableBag<V> |
MutableMap.reject(Predicate<? super V> predicate) |
ImmutableList<V> |
ImmutableOrderedMap.reject(Predicate<? super V> predicate) |
ImmutableCollection<V> |
ImmutableMapIterable.reject(Predicate<? super V> predicate) |
ImmutableBag<V> |
ImmutableMap.reject(Predicate<? super V> predicate) |
Bag<V> |
UnsortedMapIterable.select(Predicate<? super V> predicate) |
ListIterable<V> |
OrderedMap.select(Predicate<? super V> predicate) |
MutableList<V> |
MutableOrderedMap.select(Predicate<? super V> predicate) |
MutableCollection<V> |
MutableMapIterable.select(Predicate<? super V> predicate) |
MutableBag<V> |
MutableMap.select(Predicate<? super V> predicate) |
ImmutableList<V> |
ImmutableOrderedMap.select(Predicate<? super V> predicate) |
ImmutableCollection<V> |
ImmutableMapIterable.select(Predicate<? super V> predicate) |
ImmutableBag<V> |
ImmutableMap.select(Predicate<? super V> predicate) |
OrderedMap<K,V> |
OrderedMap.takeWhile(Predicate<? super V> predicate) |
MutableOrderedMap<K,V> |
MutableOrderedMap.takeWhile(Predicate<? super V> predicate) |
ImmutableOrderedMap<K,V> |
ImmutableOrderedMap.takeWhile(Predicate<? super V> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<VV> Bag<VV> |
PrimitiveObjectMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<VV> MutableBag<VV> |
MutablePrimitiveObjectMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
<VV> ImmutableBag<VV> |
ImmutablePrimitiveObjectMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends VV> function) |
PartitionBag<V> |
PrimitiveObjectMap.partition(Predicate<? super V> predicate) |
PartitionMutableBag<V> |
MutablePrimitiveObjectMap.partition(Predicate<? super V> predicate) |
PartitionImmutableBag<V> |
ImmutablePrimitiveObjectMap.partition(Predicate<? super V> predicate) |
Bag<V> |
PrimitiveObjectMap.reject(Predicate<? super V> predicate) |
MutableBag<V> |
MutablePrimitiveObjectMap.reject(Predicate<? super V> predicate) |
ImmutableBag<V> |
ImmutablePrimitiveObjectMap.reject(Predicate<? super V> predicate) |
Bag<V> |
PrimitiveObjectMap.select(Predicate<? super V> predicate) |
MutableBag<V> |
MutablePrimitiveObjectMap.select(Predicate<? super V> predicate) |
ImmutableBag<V> |
ImmutablePrimitiveObjectMap.select(Predicate<? super V> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<R> MutableList<R> |
MutableSortedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<R> ImmutableList<R> |
ImmutableSortedMap.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
<V1> ListIterable<V1> |
SortedMapIterable.collectIf(Predicate<? super V> predicate,
Function<? super V,? extends V1> function) |
SortedMapIterable<K,V> |
SortedMapIterable.dropWhile(Predicate<? super V> predicate) |
MutableSortedMap<K,V> |
MutableSortedMap.dropWhile(Predicate<? super V> predicate) |
PartitionList<V> |
SortedMapIterable.partition(Predicate<? super V> predicate) |
PartitionMutableList<V> |
MutableSortedMap.partition(Predicate<? super V> predicate) |
PartitionImmutableList<V> |
ImmutableSortedMap.partition(Predicate<? super V> predicate) |
PartitionList<V> |
SortedMapIterable.partitionWhile(Predicate<? super V> predicate) |
PartitionMutableList<V> |
MutableSortedMap.partitionWhile(Predicate<? super V> predicate) |
ListIterable<V> |
SortedMapIterable.reject(Predicate<? super V> predicate) |
MutableList<V> |
MutableSortedMap.reject(Predicate<? super V> predicate) |
ImmutableList<V> |
ImmutableSortedMap.reject(Predicate<? super V> predicate) |
ListIterable<V> |
SortedMapIterable.select(Predicate<? super V> predicate) |
MutableList<V> |
MutableSortedMap.select(Predicate<? super V> predicate) |
ImmutableList<V> |
ImmutableSortedMap.select(Predicate<? super V> predicate) |
SortedMapIterable<K,V> |
SortedMapIterable.takeWhile(Predicate<? super V> predicate) |
MutableSortedMap<K,V> |
MutableSortedMap.takeWhile(Predicate<? super V> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> ReversibleIterable<V> |
ReversibleIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> OrderedIterable<V> |
OrderedIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
int |
OrderedIterable.detectIndex(Predicate<? super T> predicate)
Returns the index of the first element of the
OrderedIterable for which the predicate evaluates to true. |
int |
ReversibleIterable.detectLastIndex(Predicate<? super T> predicate)
Returns the index of the last element of the
ReversibleIterable for which the predicate evaluates to true. |
SortedIterable<T> |
SortedIterable.dropWhile(Predicate<? super T> predicate)
Returns the final elements that do not satisfy the Predicate.
|
ReversibleIterable<T> |
ReversibleIterable.dropWhile(Predicate<? super T> predicate)
Returns the final elements that do not satisfy the Predicate.
|
OrderedIterable<T> |
OrderedIterable.dropWhile(Predicate<? super T> predicate)
Returns the final elements that do not satisfy the Predicate.
|
PartitionSortedIterable<T> |
SortedIterable.partition(Predicate<? super T> predicate) |
PartitionReversibleIterable<T> |
ReversibleIterable.partition(Predicate<? super T> predicate) |
PartitionOrderedIterable<T> |
OrderedIterable.partition(Predicate<? super T> predicate) |
PartitionSortedIterable<T> |
SortedIterable.partitionWhile(Predicate<? super T> predicate)
Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.
|
PartitionReversibleIterable<T> |
ReversibleIterable.partitionWhile(Predicate<? super T> predicate) |
PartitionOrderedIterable<T> |
OrderedIterable.partitionWhile(Predicate<? super T> predicate)
Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.
|
SortedIterable<T> |
SortedIterable.reject(Predicate<? super T> predicate) |
ReversibleIterable<T> |
ReversibleIterable.reject(Predicate<? super T> predicate) |
OrderedIterable<T> |
OrderedIterable.reject(Predicate<? super T> predicate) |
SortedIterable<T> |
SortedIterable.select(Predicate<? super T> predicate) |
ReversibleIterable<T> |
ReversibleIterable.select(Predicate<? super T> predicate) |
OrderedIterable<T> |
OrderedIterable.select(Predicate<? super T> predicate) |
SortedIterable<T> |
SortedIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
ReversibleIterable<T> |
ReversibleIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
OrderedIterable<T> |
OrderedIterable.takeWhile(Predicate<? super T> predicate)
Returns the initial elements that satisfy the Predicate.
|
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedSetIterable<V> |
UnsortedSetIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> MutableSet<V> |
MutableSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableSet<V> |
ImmutableSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
PartitionSet<T> |
SetIterable.partition(Predicate<? super T> predicate) |
PartitionMutableSetIterable<T> |
MutableSetIterable.partition(Predicate<? super T> predicate) |
PartitionMutableSet<T> |
MutableSet.partition(Predicate<? super T> predicate) |
PartitionImmutableSetIterable<T> |
ImmutableSetIterable.partition(Predicate<? super T> predicate) |
PartitionImmutableSet<T> |
ImmutableSet.partition(Predicate<? super T> predicate) |
UnsortedSetIterable<T> |
UnsortedSetIterable.reject(Predicate<? super T> predicate) |
SetIterable<T> |
SetIterable.reject(Predicate<? super T> predicate) |
ParallelUnsortedSetIterable<T> |
ParallelUnsortedSetIterable.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
ParallelSetIterable<T> |
ParallelSetIterable.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
MutableSetIterable<T> |
MutableSetIterable.reject(Predicate<? super T> predicate) |
MutableSet<T> |
MutableSet.reject(Predicate<? super T> predicate) |
ImmutableSetIterable<T> |
ImmutableSetIterable.reject(Predicate<? super T> predicate) |
ImmutableSet<T> |
ImmutableSet.reject(Predicate<? super T> predicate) |
UnsortedSetIterable<T> |
UnsortedSetIterable.select(Predicate<? super T> predicate) |
SetIterable<T> |
SetIterable.select(Predicate<? super T> predicate) |
ParallelUnsortedSetIterable<T> |
ParallelUnsortedSetIterable.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
ParallelSetIterable<T> |
ParallelSetIterable.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
MutableSetIterable<T> |
MutableSetIterable.select(Predicate<? super T> predicate) |
MutableSet<T> |
MutableSet.select(Predicate<? super T> predicate) |
ImmutableSetIterable<T> |
ImmutableSetIterable.select(Predicate<? super T> predicate) |
ImmutableSet<T> |
ImmutableSet.select(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
SortedSetIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ParallelListIterable<V> |
ParallelSortedSetIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Creates a parallel iterable for selecting and collecting elements from the current iterable.
|
<V> MutableList<V> |
MutableSortedSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedSet.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
SortedSetIterable<T> |
SortedSetIterable.dropWhile(Predicate<? super T> predicate) |
MutableSortedSet<T> |
MutableSortedSet.dropWhile(Predicate<? super T> predicate) |
ImmutableSortedSet<T> |
ImmutableSortedSet.dropWhile(Predicate<? super T> predicate) |
PartitionSortedSet<T> |
SortedSetIterable.partition(Predicate<? super T> predicate) |
PartitionMutableSortedSet<T> |
MutableSortedSet.partition(Predicate<? super T> predicate) |
PartitionImmutableSortedSet<T> |
ImmutableSortedSet.partition(Predicate<? super T> predicate) |
PartitionSortedSet<T> |
SortedSetIterable.partitionWhile(Predicate<? super T> predicate) |
PartitionMutableSortedSet<T> |
MutableSortedSet.partitionWhile(Predicate<? super T> predicate) |
PartitionImmutableSortedSet<T> |
ImmutableSortedSet.partitionWhile(Predicate<? super T> predicate) |
SortedSetIterable<T> |
SortedSetIterable.reject(Predicate<? super T> predicate) |
ParallelSortedSetIterable<T> |
ParallelSortedSetIterable.reject(Predicate<? super T> predicate)
Creates a parallel iterable for rejecting elements from the current iterable.
|
MutableSortedSet<T> |
MutableSortedSet.reject(Predicate<? super T> predicate) |
ImmutableSortedSet<T> |
ImmutableSortedSet.reject(Predicate<? super T> predicate) |
SortedSetIterable<T> |
SortedSetIterable.select(Predicate<? super T> predicate) |
ParallelSortedSetIterable<T> |
ParallelSortedSetIterable.select(Predicate<? super T> predicate)
Creates a parallel iterable for selecting elements from the current iterable.
|
MutableSortedSet<T> |
MutableSortedSet.select(Predicate<? super T> predicate) |
ImmutableSortedSet<T> |
ImmutableSortedSet.select(Predicate<? super T> predicate) |
SortedSetIterable<T> |
SortedSetIterable.takeWhile(Predicate<? super T> predicate) |
MutableSortedSet<T> |
MutableSortedSet.takeWhile(Predicate<? super T> predicate) |
ImmutableSortedSet<T> |
ImmutableSortedSet.takeWhile(Predicate<? super T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
StackIterable.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> MutableStack<V> |
MutableStack.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<V> ImmutableStack<V> |
ImmutableStack.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
StackIterable<T> |
StackIterable.dropWhile(Predicate<? super T> predicate) |
MutableStack<T> |
MutableStack.dropWhile(Predicate<? super T> predicate) |
ImmutableStack<T> |
ImmutableStack.dropWhile(Predicate<? super T> predicate) |
PartitionStack<T> |
StackIterable.partition(Predicate<? super T> predicate) |
PartitionMutableStack<T> |
MutableStack.partition(Predicate<? super T> predicate) |
PartitionImmutableStack<T> |
ImmutableStack.partition(Predicate<? super T> predicate) |
PartitionStack<T> |
StackIterable.partitionWhile(Predicate<? super T> predicate) |
PartitionMutableStack<T> |
MutableStack.partitionWhile(Predicate<? super T> predicate) |
PartitionImmutableStack<T> |
ImmutableStack.partitionWhile(Predicate<? super T> predicate) |
StackIterable<T> |
StackIterable.reject(Predicate<? super T> predicate) |
MutableStack<T> |
MutableStack.reject(Predicate<? super T> predicate) |
ImmutableStack<T> |
ImmutableStack.reject(Predicate<? super T> predicate) |
StackIterable<T> |
StackIterable.select(Predicate<? super T> predicate) |
MutableStack<T> |
MutableStack.select(Predicate<? super T> predicate) |
ImmutableStack<T> |
ImmutableStack.select(Predicate<? super T> predicate) |
StackIterable<T> |
StackIterable.takeWhile(Predicate<? super T> predicate) |
MutableStack<T> |
MutableStack.takeWhile(Predicate<? super T> predicate) |
ImmutableStack<T> |
ImmutableStack.takeWhile(Predicate<? super T> predicate) |
Copyright © 2004–2022. All rights reserved.