com.hp.hpl.jena.util.iterator
Interface Filter
- All Known Implementing Classes:
- FBRuleInfGraph, TripleMatchFilter
- public interface Filter
A boolean function for filtering.
- Version:
- Release='$Name: $' Revision='$Revision: 1.3 $' Date='$Date: 2003/08/27 13:07:54 $'
- Author:
- jjc
Field Summary |
static Filter |
any
a filter that accepts anything.
|
Method Summary |
boolean |
accept(java.lang.Object o)
The object is wanted. |
any
public static final Filter any
- a filter that accepts anything.
(useful when a general method wants a Filter, but we'll
take anything).
accept
public boolean accept(java.lang.Object o)
- The object is wanted.
- Parameters:
o
- The object to accept or reject.
- Returns:
- true if the object is wanted.
Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.