|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CollectionFunctions.Criterion | |
---|---|
eu.monnetproject.lemon.conversions.lmf |
Uses of CollectionFunctions.Criterion in eu.monnetproject.lemon.conversions.lmf |
---|
Methods in eu.monnetproject.lemon.conversions.lmf that return CollectionFunctions.Criterion | ||
---|---|---|
static
|
CollectionFunctions.eq(E e)
Convenience equivalence function |
|
static
|
CollectionFunctions.neq(E e)
Convenience equivalence function |
Methods in eu.monnetproject.lemon.conversions.lmf with parameters of type CollectionFunctions.Criterion | ||
---|---|---|
static
|
CollectionFunctions.exists(Collection<E> collection,
CollectionFunctions.Criterion<E> f)
Returns true if the collection has an element satisfying the condition |
|
static
|
CollectionFunctions.exists(E[] array,
CollectionFunctions.Criterion<E> f)
Returns true if the array has an element satisfying the condition |
|
static
|
CollectionFunctions.filter(E[] array,
CollectionFunctions.Criterion<E> f)
Return an array containing all elements matching a specific criterion |
|
static
|
CollectionFunctions.filter(List<E> list,
CollectionFunctions.Criterion<E> f)
Return a collection containing all elements matching a specific criterion |
|
static
|
CollectionFunctions.filter(Set<E> set,
CollectionFunctions.Criterion<E> f)
Return a collection containing all elements matching a specific criterion |
|
static
|
CollectionFunctions.filterByKey(Map<E,F> map,
CollectionFunctions.Criterion<E> f)
Return a map containing all entries whose keys match a specific criterion |
|
static
|
CollectionFunctions.filterByValue(Map<E,F> map,
CollectionFunctions.Criterion<F> f)
Return a map containing all entries whose values match a specific criterion |
|
static
|
CollectionFunctions.find(Collection<E> collection,
CollectionFunctions.Criterion<E> f)
Find the first element of the collection satisfying the condition |
|
static
|
CollectionFunctions.find(E[] array,
CollectionFunctions.Criterion<E> f)
Find the first element of the array satisfying the condition |
|
static
|
CollectionFunctions.forall(Collection<E> collection,
CollectionFunctions.Criterion<E> f)
Check if a condition holds for all elements in the collection |
|
static
|
CollectionFunctions.forall(E[] array,
CollectionFunctions.Criterion<E> f)
Check if a condition holds for all elements in the array |
|
static
|
CollectionFunctions.partition(List<E> list,
CollectionFunctions.Criterion<E> f)
Remove all elements matching a criterion from a list and return a new list containing all elements matching the criterion |
|
static
|
CollectionFunctions.partition(Set<E> set,
CollectionFunctions.Criterion<E> f)
Remove all elements matching a criterion from a set and return a new set containing all elements matching the criterion |
|
static
|
CollectionFunctions.partitionByKey(Map<E,F> map,
CollectionFunctions.Criterion<E> f)
Remove all entries whose keys match a criterion from a set and return a new map containing all entries matching the criterion |
|
static
|
CollectionFunctions.partitionByValue(Map<E,F> map,
CollectionFunctions.Criterion<F> f)
Remove all entries whose values match a criterion from a set and return a new map containing all entries matching the criterion |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |