edu.stanford.nlp.ling.tokensregex.types
Class Expressions.SimpleExpression<T>

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.types.Expressions.TypedExpression
      extended by edu.stanford.nlp.ling.tokensregex.types.Expressions.SimpleExpression<T>
Type Parameters:
T - type of the expression object
All Implemented Interfaces:
Expression, java.io.Serializable
Direct Known Subclasses:
Expressions.RegexMatchResultVarExpression, Expressions.RegexMatchVarExpression, Expressions.SimpleCachedExpression, Expressions.VarExpression
Enclosing class:
Expressions

public abstract static class Expressions.SimpleExpression<T>
extends Expressions.TypedExpression

A simple implementation of an expression that is represented by a java object of type T

See Also:
Serialized Form

Constructor Summary
protected Expressions.SimpleExpression(java.lang.String typename, T value, java.lang.String... tags)
           
 
Method Summary
 T get()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.types.Expressions.TypedExpression
getTags, getType, hasValue, setTags, simplify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.stanford.nlp.ling.tokensregex.types.Expression
evaluate
 

Constructor Detail

Expressions.SimpleExpression

protected Expressions.SimpleExpression(java.lang.String typename,
                                       T value,
                                       java.lang.String... tags)
Method Detail

get

public T get()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Stanford NLP Group