Class BaseExpression.Paths0
- java.lang.Object
-
- com.gdblab.pathAlgebra.expressions.BaseExpression
-
- com.gdblab.pathAlgebra.expressions.BaseExpression.Paths0
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseExpression>
- Enclosing class:
- BaseExpression
public static final class BaseExpression.Paths0 extends BaseExpression implements java.io.Serializable
Paths0(G): all paths of length 0 (nodes)- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.gdblab.pathAlgebra.expressions.BaseExpression
BaseExpression.PartialVisitor<R>, BaseExpression.Paths0, BaseExpression.Paths1, BaseExpression.PathsStar, BaseExpression.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description GraphReferencevalue-
Fields inherited from class com.gdblab.pathAlgebra.expressions.BaseExpression
PATHS_STAR, PATHS0, PATHS1, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Paths0(GraphReference value)Constructs an immutableBaseExpression.Paths0.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(BaseExpression.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(BaseExpression other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final GraphReference value
-
-
Constructor Detail
-
Paths0
public Paths0(GraphReference value)
Constructs an immutableBaseExpression.Paths0.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(BaseExpression other)
- Specified by:
compareToin interfacejava.lang.Comparable<BaseExpression>
-
accept
public <R> R accept(BaseExpression.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classBaseExpression
-
-