|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.utils.Query<T>
public abstract class Query<T>
Usefull for queriing sets of objects with some common property. Itarates all elements in the collection and returns
Constructor Summary | |
---|---|
Query()
|
Method Summary | |
---|---|
protected abstract boolean |
filter(T o)
|
java.util.List<T> |
query(java.util.Collection<T> collection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Query()
Method Detail |
---|
protected abstract boolean filter(T o)
public java.util.List<T> query(java.util.Collection<T> collection)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |