cz.cuni.amis.utils
Class Query<T>

Package class diagram package Query
java.lang.Object
  extended by cz.cuni.amis.utils.Query<T>

public abstract class Query<T>
extends Object

Usefull for queriing sets of objects with some common property. Itarates all elements in the collection and returns

Author:
Ik

Constructor Summary
Query()
           
 
Method Summary
protected abstract  boolean filter(T o)
           
 List<T> query(Collection<T> collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query()
Method Detail

filter

protected abstract boolean filter(T o)

query

public List<T> query(Collection<T> collection)


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