edu.washington.biostr.sig.vault.core
Class SimpleQuerySet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.TreeSet<SimpleQuery>
              extended by edu.washington.biostr.sig.vault.core.SimpleQuerySet
All Implemented Interfaces:
NodeQuery, Serializable, Cloneable, Iterable<SimpleQuery>, Collection<SimpleQuery>, Set<SimpleQuery>, SortedSet<SimpleQuery>

public class SimpleQuerySet
extends TreeSet<SimpleQuery>
implements NodeQuery

The SimpleQuerySet represents a set of predicates that all must hold true for a node to be accepted.

Author:
eider
See Also:
Serialized Form

Constructor Summary
SimpleQuerySet()
           
SimpleQuerySet(Collection<? extends SimpleQuery> arg0)
           
SimpleQuerySet(Comparator<? super SimpleQuery> arg0)
           
SimpleQuerySet(SortedSet<SimpleQuery> arg0)
           
 
Method Summary
 boolean accept(DataNode node, DataVault vault)
          Accept the node if it satisfies all of the SimpleQueries.
 
Methods inherited from class java.util.TreeSet
add, addAll, clear, clone, comparator, contains, first, headSet, isEmpty, iterator, last, remove, size, subSet, tailSet
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

SimpleQuerySet

public SimpleQuerySet()

SimpleQuerySet

public SimpleQuerySet(Collection<? extends SimpleQuery> arg0)

SimpleQuerySet

public SimpleQuerySet(Comparator<? super SimpleQuery> arg0)

SimpleQuerySet

public SimpleQuerySet(SortedSet<SimpleQuery> arg0)
Method Detail

accept

public boolean accept(DataNode node,
                      DataVault vault)
Accept the node if it satisfies all of the SimpleQueries.

Specified by:
accept in interface NodeQuery


Copyright © 2006 University of Washington. All Rights Reserved.