|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.filter.base.ConjunctionFilter<V>
V - is the generic type of the value to check.public class ConjunctionFilter<V>
This is an implementation of the Filter interface that combines a
given list of filters using a boolean Conjunction.
| Field Summary | |
|---|---|
private Conjunction |
conjunction
The boolean conjunction. |
private Filter<V>[] |
filterList
the filters to check. |
| Constructor Summary | |
|---|---|
ConjunctionFilter(Conjunction conjunction,
Filter<V>... filters)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
accept(V value)
This method determines if the given value should be accepted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Filter<V>[] filterList
private final Conjunction conjunction
| Constructor Detail |
|---|
public ConjunctionFilter(Conjunction conjunction,
Filter<V>... filters)
conjunction - is the Conjunction used to combine the
filters.filters - are the filters to combine.| Method Detail |
|---|
public boolean accept(V value)
value should be accepted.
accept in interface Filter<V>value - is the value to check.
true if the given value is acceptable,
false if it should be filtered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||