com.miginfocom.util.filter
Interface Filter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AndFilter, CategoryFilter, CompositeFilter, ExpressionFilter, GridRow, NandFilter, OrFilter, XorFilter

public interface Filter
extends java.io.Serializable

Generic filter inteface.


Method Summary
 boolean accept(java.lang.Object o)
          If the filter accepts o.
 java.lang.String getName()
          Returns a human readable name for the filter.
 

Method Detail

getName

java.lang.String getName()
Returns a human readable name for the filter.

Returns:
A human readable name for the filter.

accept

boolean accept(java.lang.Object o)
If the filter accepts o.

Parameters:
o - The object to judge. Can be null.
Returns:
If the filter accepts o.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.