public class ScriptingPredicate<T,C> extends ExtractorBase<T,V,C> implements Predicate<T,C>
cost, costUnit, initialCost, invocations, nanos, totalCost| Constructor and Description |
|---|
ScriptingPredicate(String code,
ScriptEngineFactory sef,
String[] parameterNames) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected V |
extractInternal(C context,
Map<C,Map<Extractor<T,? super V,C>,? super V>> cache,
T... obj) |
int |
hashCode() |
boolean |
isContextDependent() |
Set<Integer> |
parameterIndices() |
String |
toString() |
compareTo, createCacheEntry, extract, getCostclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, extract, getCost, isContextDependent, parameterIndicespublic ScriptingPredicate(String code, ScriptEngineFactory sef, String[] parameterNames)
public boolean isContextDependent()
public Set<Integer> parameterIndices()
protected V extractInternal(C context, Map<C,Map<Extractor<T,? super V,C>,? super V>> cache, T... obj)
extractInternal in class ExtractorBase<T,V,C>public boolean equals(Object obj)
equals in class ExtractorBase<T,V,C>