| Package | Description |
|---|---|
| org.eclipse.collections.api.bag |
This package contains interfaces for Bag 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Bag.allSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
Returns true if the predicate evaluates to true for all elements of the Bag.
|
boolean |
Bag.anySatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
Returns true if the predicate evaluates to true for any element of the Bag.
|
T |
Bag.detectWithOccurrences(ObjectIntPredicate<? super T> predicate)
Returns an element of the Bag that satisfies the predicate or null if such an element does not exist
|
boolean |
Bag.noneSatisfyWithOccurrences(ObjectIntPredicate<? super T> predicate)
Returns true if the Bag is empty or if the predicate evaluates to false for all elements of the Bag.
|
| Modifier and Type | Method and Description |
|---|---|
MutableObjectIntMap<K> |
MutableObjectIntMap.reject(ObjectIntPredicate<? super K> predicate) |
ObjectIntMap<K> |
ObjectIntMap.reject(ObjectIntPredicate<? super K> predicate)
Return a copy of this map containing only the key/value pairs that do not match the
predicate.
|
ImmutableObjectIntMap<K> |
ImmutableObjectIntMap.reject(ObjectIntPredicate<? super K> predicate) |
MutableObjectIntMap<K> |
MutableObjectIntMap.select(ObjectIntPredicate<? super K> predicate) |
ObjectIntMap<K> |
ObjectIntMap.select(ObjectIntPredicate<? super K> predicate)
Return a copy of this map containing only the key/value pairs that match the predicate.
|
ImmutableObjectIntMap<K> |
ImmutableObjectIntMap.select(ObjectIntPredicate<? super K> predicate) |
Copyright © 2004–2020. All rights reserved.