public static class SequenceMatchRules.SequenceMatchResultExtractor<T> extends java.lang.Object implements Function<SequenceMatchResult<T>,Value>
| Constructor and Description |
|---|
SequenceMatchRules.SequenceMatchResultExtractor(Env env,
Expression result) |
SequenceMatchRules.SequenceMatchResultExtractor(Env env,
Expression action,
Expression result) |
| Modifier and Type | Method and Description |
|---|---|
Value |
apply(SequenceMatchResult<T> matchResult)
Converts a T1 to a different T2.
|
public SequenceMatchRules.SequenceMatchResultExtractor(Env env, Expression action, Expression result)
public SequenceMatchRules.SequenceMatchResultExtractor(Env env, Expression result)
public Value apply(SequenceMatchResult<T> matchResult)
Functionapply in interface Function<SequenceMatchResult<T>,Value>matchResult - The function's argument