com.hp.hpl.jena.util.iterator
Interface Filter

All Known Implementing Classes:
FBRuleInfGraph, RDFSRuleInfGraph, 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(Object o)
          The object is wanted.
 

Field Detail

any

static final Filter any
a filter that accepts anything. (useful when a general method wants a Filter, but we'll take anything).

Method Detail

accept

boolean accept(Object o)
The object is wanted.

Parameters:
o - The object to accept or reject.
Returns:
true if the object is wanted.


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP