edu.stanford.nlp.ling.tokensregex
Class SequenceMatchAction.BranchAction<T>

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.SequenceMatchAction.BranchAction<T>
All Implemented Interfaces:
SequenceMatchAction<T>
Enclosing interface:
SequenceMatchAction<T>

public static final class SequenceMatchAction.BranchAction<T>
extends java.lang.Object
implements SequenceMatchAction<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.stanford.nlp.ling.tokensregex.SequenceMatchAction
SequenceMatchAction.BoundAction<T>, SequenceMatchAction.BranchAction<T>, SequenceMatchAction.NextMatchAction<T>, SequenceMatchAction.SeriesAction<T>, SequenceMatchAction.StartMatchAction<T>
 
Constructor Summary
SequenceMatchAction.BranchAction(Filter<SequenceMatchResult<T>> filter, SequenceMatchAction<T> acceptBranch, SequenceMatchAction<T> rejectBranch)
           
 
Method Summary
 SequenceMatchResult<T> apply(SequenceMatchResult<T> seqMatchResult, int... groups)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceMatchAction.BranchAction

public SequenceMatchAction.BranchAction(Filter<SequenceMatchResult<T>> filter,
                                        SequenceMatchAction<T> acceptBranch,
                                        SequenceMatchAction<T> rejectBranch)
Method Detail

apply

public SequenceMatchResult<T> apply(SequenceMatchResult<T> seqMatchResult,
                                    int... groups)
Specified by:
apply in interface SequenceMatchAction<T>


Stanford NLP Group