Class ComplexNodePattern.IntegerAnnotationPattern
- java.lang.Object
-
- edu.stanford.nlp.ling.tokensregex.NodePattern<Integer>
-
- edu.stanford.nlp.ling.tokensregex.ComplexNodePattern.IntegerAnnotationPattern
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ComplexNodePattern<M,K>
public static class ComplexNodePattern.IntegerAnnotationPattern extends NodePattern<Integer>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.stanford.nlp.ling.tokensregex.NodePattern
NodePattern.AnyNodePattern<T>, NodePattern.ConjNodePattern<T>, NodePattern.DisjNodePattern<T>, NodePattern.EqualsNodePattern<T>, NodePattern.NegateNodePattern<T>
-
-
Field Summary
-
Fields inherited from class edu.stanford.nlp.ling.tokensregex.NodePattern
ANY_NODE, CASE_INSENSITIVE, NORMALIZE, UNICODE_CASE
-
-
Constructor Summary
Constructors Constructor Description IntegerAnnotationPattern(int v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()booleanmatch(Integer node)Returns true if the input node matches this pattern-
Methods inherited from class edu.stanford.nlp.ling.tokensregex.NodePattern
matchWithResult
-
-
-
-
Method Detail
-
match
public boolean match(Integer node)
Description copied from class:NodePatternReturns true if the input node matches this pattern- Specified by:
matchin classNodePattern<Integer>- Parameters:
node- - node to match- Returns:
- true if the node matches the pattern, false otherwise
-
getValue
public int getValue()
-
-