public class ObjectLiteral extends Literal
| Constructor and Description |
|---|
ObjectLiteral(java.lang.Object value)
Create a new ObjectLiteral.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(Tuple t)
By default, throws an UnsupportedOperationException.
|
java.lang.Class |
getType(Schema s)
Returns the type that this expression evaluates to when tuples
with the given Schema are provided as input.
|
java.lang.String |
toString() |
getLiteral, getLiteral, getLiteraladdChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getBoolean, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visitpublic ObjectLiteral(java.lang.Object value)
value - the literal valuepublic java.lang.Class getType(Schema s)
ExpressionExpression.getType(prefuse.data.Schema)public java.lang.Object get(Tuple t)
AbstractExpressionget in interface Expressionget in class AbstractExpressiont - the input TupleExpression.get(prefuse.data.Tuple)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()