Uses of Interface
cz.cuni.amis.utils.IFilter

Packages that use IFilter
cz.cuni.amis.utils.collections Collection wrappers supporting change events. 
 

Uses of IFilter in cz.cuni.amis.utils.collections
 

Methods in cz.cuni.amis.utils.collections with parameters of type IFilter
static
<T> List<T>
MyCollections.asList(Collection<T> objects, IFilter filter)
           
static
<T> List<T>
MyCollections.asList(T[] objects, IFilter filter)
           
static
<T> List<T>
MyCollections.getFiltered(Collection<T> col, IFilter filter)
          Returns new list that contains only objects from 'col' that are isAccepted(Object).
static
<T> T[]
MyCollections.getFiltered(T[] array, IFilter filter)
          Returns new array that contains only objects from 'array' that are isAccepted(Object).
static
<T> T
MyCollections.getRandomFiltered(Collection<T> col, IFilter filter)
          Returns random element from the collection that is isAccepted(Object) by the 'filter'.
static
<T> T
MyCollections.getRandomFiltered(T[] array, IFilter filter)
          Returns random element from the array that is isAccepted(Object) by the 'filter'.
static
<T> void
MyCollections.toList(T[] objects, List<T> list, IFilter filter)
          Adds 'objects' that satisfies 'filter' to 'list'.
 



Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.