Class TypedPredicate<T>

java.lang.Object
org.broadleafcommerce.common.util.TypedPredicate<T>
Type Parameters:
T - the type of object the predicate uses
All Implemented Interfaces:
Predicate, org.apache.commons.collections4.Predicate

public abstract class TypedPredicate<T> extends Object implements org.apache.commons.collections4.Predicate
A class that provides for a typed predicat
Author:
Andre Azzolini (apazzolini)
  • Field Details

    • clazz

      protected Class<T> clazz
  • Constructor Details

    • TypedPredicate

      public TypedPredicate()
  • Method Details

    • evaluate

      public boolean evaluate(Object value)
      Specified by:
      evaluate in interface org.apache.commons.collections4.Predicate<T>
    • eval

      public abstract boolean eval(T value)