org.shapelogic.predicate
Class TruePredicate

java.lang.Object
  extended by org.shapelogic.predicate.TruePredicate
All Implemented Interfaces:
Predicate

public class TruePredicate
extends java.lang.Object
implements Predicate

Predicate that always return true.
Same name as Apache Commons.

Author:
sbadawi

Field Summary
static TruePredicate TRUE_PREDICATE
           
 
Constructor Summary
TruePredicate()
           
 
Method Summary
 boolean evaluate(java.lang.Object input)
          Checks if a binary predicate relation holds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRUE_PREDICATE

public static TruePredicate TRUE_PREDICATE
Constructor Detail

TruePredicate

public TruePredicate()
Method Detail

evaluate

public boolean evaluate(java.lang.Object input)
Description copied from interface: Predicate
Checks if a binary predicate relation holds.

Specified by:
evaluate in interface Predicate


Copyright © 2009. All Rights Reserved.