danbikel.util
Class AllPass
java.lang.Object
danbikel.util.AllPass
- All Implemented Interfaces:
- Filter
public class AllPass
- extends Object
- implements Filter
A trivial filter that lets all objects pass through.
Constructor Summary |
AllPass()
Constructs a new filter that lets all objects pass through. |
Method Summary |
boolean |
pass(Object obj)
Returns true regardless of the value of the specified
object (lets all objects pass through). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllPass
public AllPass()
- Constructs a new filter that lets all objects pass through.
pass
public boolean pass(Object obj)
- Returns
true
regardless of the value of the specified
object (lets all objects pass through).
- Specified by:
pass
in interface Filter
Author: Dan Bikel.