net.sourceforge.domian.predicate
Class SpecificationPredicate

java.lang.Object
  extended by net.sourceforge.domian.predicate.SpecificationPredicate
All Implemented Interfaces:
org.apache.commons.collections.Predicate

public class SpecificationPredicate
extends java.lang.Object
implements org.apache.commons.collections.Predicate

A Specification disguised as a Jakarta Commons Collection Predicate.

Since:
0.3
Author:
Eirik Torske
See Also:
org.apache.commons.collections.Predicate

Method Summary
 boolean evaluate(java.lang.Object object)
           
static org.apache.commons.collections.Predicate getPredicate(Specification specification)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPredicate

public static org.apache.commons.collections.Predicate getPredicate(Specification specification)

evaluate

public boolean evaluate(java.lang.Object object)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate


Copyright © 2006-2010. All Rights Reserved.