public class EqualsFilter<T> extends Object implements Filter<T>
Constructor and Description |
---|
EqualsFilter(T object)
Create a new filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(T object)
Evaluate if the given object should pass the filter or not.
|
private final T object
public EqualsFilter(T object)
object
- The object use for equality check