Class LiteralValue
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.LiteralValue
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LiteralValue>
- Direct Known Subclasses:
LiteralValue.Boolean_,LiteralValue.Float_,LiteralValue.Integer_,LiteralValue.String_
public abstract class LiteralValue extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<LiteralValue>
Literal values for comparisons- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLiteralValue.Boolean_static classLiteralValue.Float_static classLiteralValue.Integer_static interfaceLiteralValue.PartialVisitor<R>Partial visitor overLiteralValuewith a defaultLiteralValue.PartialVisitor.otherwise(com.gdblab.pathAlgebra.expressions.LiteralValue)branch.static classLiteralValue.String_static interfaceLiteralValue.Visitor<R>Visitor overLiteralValue.
-
Field Summary
Fields Modifier and Type Field Description static NameBOOLEANName of thecom.gdblab.pathAlgebra.expressions.LiteralValue.booleanfield.static NameFLOATName of thecom.gdblab.pathAlgebra.expressions.LiteralValue.floatfield.static NameINTEGERName of thecom.gdblab.pathAlgebra.expressions.LiteralValue.integerfield.static NameSTRINGName of thecom.gdblab.pathAlgebra.expressions.LiteralValue.stringfield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.LiteralValuetype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(LiteralValue.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.LiteralValuetype.
-
STRING
public static final Name STRING
Name of thecom.gdblab.pathAlgebra.expressions.LiteralValue.stringfield.
-
INTEGER
public static final Name INTEGER
Name of thecom.gdblab.pathAlgebra.expressions.LiteralValue.integerfield.
-
FLOAT
public static final Name FLOAT
Name of thecom.gdblab.pathAlgebra.expressions.LiteralValue.floatfield.
-
BOOLEAN
public static final Name BOOLEAN
Name of thecom.gdblab.pathAlgebra.expressions.LiteralValue.booleanfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(LiteralValue.Visitor<R> visitor)
Dispatch tovisitor.
-
-