- Type Parameters:
T
- the type to filer on
- All Implemented Interfaces:
Filter<T>
public class AllFilter<T>
extends Object
implements Filter<T>
A Filter that always returns true.
- Author:
- Nick Collier
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
public static final Filter INSTANCE
-
Constructor Details
-
AllFilter
public AllFilter()
-
Method Details
-
evaluate
public boolean evaluate(T object)
- Specified by:
evaluate
in interface Filter<T>