V - is the generic type of the value to check.public class ConjunctionFilter<V> extends Object implements Filter<V>
Filter interface that combines a given list of filters using a
boolean Conjunction.| Modifier and Type | Field and Description |
|---|---|
private Conjunction |
conjunction
The boolean conjunction.
|
private Filter<V>[] |
filterList
the filters to check.
|
| Constructor and Description |
|---|
ConjunctionFilter(Conjunction conjunction,
Filter<V>... filters)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(V value)
This method determines if the given
value should be accepted. |
private final Conjunction conjunction
@SafeVarargs public ConjunctionFilter(Conjunction conjunction, Filter<V>... filters)
conjunction - is the Conjunction used to combine the filters.filters - are the filters to combine.Copyright © 2001–2015 mmm-Team. All rights reserved.