Class JavascriptPredicate<T>

java.lang.Object
org.sensorhub.api.datastore.func.JavascriptPredicate<T>
All Implemented Interfaces:
com.google.common.base.Predicate<T>, Predicate<T>

public class JavascriptPredicate<T> extends Object implements com.google.common.base.Predicate<T>
  • Constructor Details

    • JavascriptPredicate

      public JavascriptPredicate(String jsCode)
  • Method Details

    • getCode

      public String getCode()
    • apply

      public boolean apply(T input)
      Specified by:
      apply in interface com.google.common.base.Predicate<T>