com.hp.hpl.jena.util.iterator
Class Filter
java.lang.Object
com.hp.hpl.jena.util.iterator.Filter
- Direct Known Subclasses:
- TripleMatchFilter
public abstract class Filter
- extends java.lang.Object
boolean functions wrapped to be used in filtering iterators.
- Author:
- jjc, kers
Field Summary |
static Filter |
any
A Filter that accepts everything it's offered. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
any
public static final Filter any
- A Filter that accepts everything it's offered.
Filter
public Filter()
accept
public abstract boolean accept(java.lang.Object o)
- Answer true iff the object
o
is acceptable. This method
may also throw an exception if the argument is of a wrong type; it
is not required to return false
in such a case.
filterKeep
public ExtendedIterator filterKeep(java.util.Iterator it)
and
public Filter and(Filter other)
Copyright © 2000, 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP