Uses of Interface
eu.monnetproject.lemon.conversions.lmf.CollectionFunctions.Criterion

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
<E> CollectionFunctions.Criterion<E>
CollectionFunctions.eq(E e)
          Convenience equivalence function
static
<E> CollectionFunctions.Criterion<E>
CollectionFunctions.neq(E e)
          Convenience equivalence function
 

Methods in eu.monnetproject.lemon.conversions.lmf with parameters of type CollectionFunctions.Criterion
static
<E> boolean
CollectionFunctions.exists(Collection<E> collection, CollectionFunctions.Criterion<E> f)
          Returns true if the collection has an element satisfying the condition
static
<E> boolean
CollectionFunctions.exists(E[] array, CollectionFunctions.Criterion<E> f)
          Returns true if the array has an element satisfying the condition
static
<E> E[]
CollectionFunctions.filter(E[] array, CollectionFunctions.Criterion<E> f)
          Return an array containing all elements matching a specific criterion
static
<E> List<E>
CollectionFunctions.filter(List<E> list, CollectionFunctions.Criterion<E> f)
          Return a collection containing all elements matching a specific criterion
static
<E> Set<E>
CollectionFunctions.filter(Set<E> set, CollectionFunctions.Criterion<E> f)
          Return a collection containing all elements matching a specific criterion
static
<E,F> Map<E,F>
CollectionFunctions.filterByKey(Map<E,F> map, CollectionFunctions.Criterion<E> f)
          Return a map containing all entries whose keys match a specific criterion
static
<E,F> Map<E,F>
CollectionFunctions.filterByValue(Map<E,F> map, CollectionFunctions.Criterion<F> f)
          Return a map containing all entries whose values match a specific criterion
static
<E> E
CollectionFunctions.find(Collection<E> collection, CollectionFunctions.Criterion<E> f)
          Find the first element of the collection satisfying the condition
static
<E> E
CollectionFunctions.find(E[] array, CollectionFunctions.Criterion<E> f)
          Find the first element of the array satisfying the condition
static
<E> boolean
CollectionFunctions.forall(Collection<E> collection, CollectionFunctions.Criterion<E> f)
          Check if a condition holds for all elements in the collection
static
<E> boolean
CollectionFunctions.forall(E[] array, CollectionFunctions.Criterion<E> f)
          Check if a condition holds for all elements in the array
static
<E> List<E>
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
<E> Set<E>
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
<E,F> Map<E,F>
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
<E,F> Map<E,F>
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
 



Copyright © 2012. All Rights Reserved.