net.sf.mmm.util.filter.api
Interface Filter<V>

Type Parameters:
V - is the generic type of the value to check.
All Known Implementing Classes:
AnnotationFilter, AssignableFromFilter, CliOptionNameDefaultFilter, ConjunctionFilter, ConstantFilter, FilterRuleChain, NlsFormatterChoice.Condition

public interface Filter<V>

This is the interface for a filter that decides if a given value is acceptable or should be filtered.

Since:
1.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Method Summary
 boolean accept(V value)
          This method determines if the given value should be accepted.
 

Method Detail

accept

boolean accept(V value)
This method determines if the given value should be accepted.

Parameters:
value - is the value to check.
Returns:
true if the given value is acceptable, false if it should be filtered.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.