|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.expression.AbstractExpression prefuse.data.expression.Literal prefuse.data.expression.BooleanLiteral
public class BooleanLiteral
Literal expression of a boolean value.
Field Summary | |
---|---|
static BooleanLiteral |
FALSE
The false boolean literal. |
static BooleanLiteral |
TRUE
The true boolean literal. |
Constructor Summary | |
---|---|
BooleanLiteral(boolean b)
Create a new BooleanLiteral. |
Method Summary | |
---|---|
java.lang.Object |
get(Tuple t)
By default, throws an UnsupportedOperationException. |
boolean |
getBoolean(Tuple tuple)
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()
|
Methods inherited from class prefuse.data.expression.Literal |
---|
getLiteral, getLiteral, getLiteral |
Methods inherited from class prefuse.data.expression.AbstractExpression |
---|
addChildListeners, addExpressionListener, expressionChanged, fireExpressionChange, getDouble, getFloat, getInt, getLong, hasListeners, removeChildListeners, removeExpressionListener, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface prefuse.data.expression.Expression |
---|
addExpressionListener, getDouble, getFloat, getInt, getLong, removeExpressionListener, visit |
Field Detail |
---|
public static final BooleanLiteral TRUE
public static final BooleanLiteral FALSE
Constructor Detail |
---|
public BooleanLiteral(boolean b)
b
- the boolean valueMethod Detail |
---|
public boolean getBoolean(Tuple tuple)
AbstractExpression
getBoolean
in interface Expression
getBoolean
in class AbstractExpression
tuple
- the input Tuple
Expression.getBoolean(prefuse.data.Tuple)
public java.lang.Class getType(Schema s)
Expression
getType
in interface Expression
Expression.getType(prefuse.data.Schema)
public java.lang.Object get(Tuple t)
AbstractExpression
get
in interface Expression
get
in class AbstractExpression
t
- the input Tuple
Expression.get(prefuse.data.Tuple)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |