Class PathElement
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.PathElement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathElement>
- Direct Known Subclasses:
PathElement.Edge,PathElement.First,PathElement.Last,PathElement.Node
public abstract class PathElement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PathElement>
References to elements within a path- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathElement.Edgestatic classPathElement.Firststatic classPathElement.Laststatic classPathElement.Nodestatic interfacePathElement.PartialVisitor<R>Partial visitor overPathElementwith a defaultPathElement.PartialVisitor.otherwise(com.gdblab.pathAlgebra.expressions.PathElement)branch.static interfacePathElement.Visitor<R>Visitor overPathElement.
-
Field Summary
Fields Modifier and Type Field Description static NameEDGEName of thecom.gdblab.pathAlgebra.expressions.PathElement.edgefield.static NameFIRSTName of thecom.gdblab.pathAlgebra.expressions.PathElement.firstfield.static NameLASTName of thecom.gdblab.pathAlgebra.expressions.PathElement.lastfield.static NameNODEName of thecom.gdblab.pathAlgebra.expressions.PathElement.nodefield.static NameTYPE_Name of thecom.gdblab.pathAlgebra.expressions.PathElementtype.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(PathElement.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thecom.gdblab.pathAlgebra.expressions.PathElementtype.
-
NODE
public static final Name NODE
Name of thecom.gdblab.pathAlgebra.expressions.PathElement.nodefield.
-
EDGE
public static final Name EDGE
Name of thecom.gdblab.pathAlgebra.expressions.PathElement.edgefield.
-
FIRST
public static final Name FIRST
Name of thecom.gdblab.pathAlgebra.expressions.PathElement.firstfield.
-
LAST
public static final Name LAST
Name of thecom.gdblab.pathAlgebra.expressions.PathElement.lastfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(PathElement.Visitor<R> visitor)
Dispatch tovisitor.
-
-