org.jjoost.util
Interface Filter<E>

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
BothFilter<E>
All Known Implementing Classes:
AcceptAll, AcceptBetween, AcceptEqual, AcceptGreater, AcceptGreaterEqual, AcceptIfMember, AcceptIfNonEmptyString, AcceptIfNotNull, AcceptIfNull, AcceptLess, AcceptLessEqual, AcceptNone, AcceptUnique, AcceptUniqueSequence, BothFilterAnd, BothFilterMultiAnd, BothFilterMultiOr, BothFilterNot, BothFilterOr, FilterAnd, FilterMultiAnd, FilterMultiOr, FilterNot, FilterOr, FilterPattern, MappedFilter

public interface Filter<E>
extends java.io.Serializable

Defines a simple filter over objects

Author:
b.elliottsmith

Method Summary
 boolean accept(E test)
          Returns true if the Filter accepts the parameter and false otherwise
 

Method Detail

accept

boolean accept(E test)
Returns true if the Filter accepts the parameter and false otherwise

Parameters:
test - value to test
Returns:
true if the filter accepts test; false otherwise