Parsing Engine

danbikel.util
Class AllPass

java.lang.Object
  extended by 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
 

Constructor Detail

AllPass

public AllPass()
Constructs a new filter that lets all objects pass through.

Method Detail

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

Parsing Engine

Author: Dan Bikel.