cascading.pattern.model.tree.predicate
Class IsInSetPredicate

java.lang.Object
  extended by cascading.pattern.model.tree.predicate.Predicate
      extended by cascading.pattern.model.tree.predicate.SimplePredicate
          extended by cascading.pattern.model.tree.predicate.SimpleSetPredicate
              extended by cascading.pattern.model.tree.predicate.IsInSetPredicate
All Implemented Interfaces:
Serializable

public class IsInSetPredicate
extends SimpleSetPredicate

Class IsInSetPredicate returns true if the current value is in the given collection of values.

See Also:
Serialized Form

Constructor Summary
IsInSetPredicate(String field, Collection values)
           
 
Method Summary
 Boolean evaluate(Object argument)
           
 
Methods inherited from class cascading.pattern.model.tree.predicate.SimplePredicate
getArgumentField, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IsInSetPredicate

public IsInSetPredicate(String field,
                        Collection values)
Method Detail

evaluate

public Boolean evaluate(Object argument)
Specified by:
evaluate in class SimplePredicate


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.