Package hydra.cypher.openCypher
Class PatternElement.Chained
- java.lang.Object
-
- hydra.cypher.openCypher.PatternElement
-
- hydra.cypher.openCypher.PatternElement.Chained
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PatternElement>
- Enclosing class:
- PatternElement
public static final class PatternElement.Chained extends PatternElement implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.cypher.openCypher.PatternElement
PatternElement.Chained, PatternElement.Parenthesized, PatternElement.PartialVisitor<R>, PatternElement.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description NodePatternChainvalue-
Fields inherited from class hydra.cypher.openCypher.PatternElement
CHAINED, PARENTHESIZED, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Chained(NodePatternChain value)Constructs an immutablePatternElement.Chained.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(PatternElement.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(PatternElement other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final NodePatternChain value
-
-
Constructor Detail
-
Chained
public Chained(NodePatternChain value)
Constructs an immutablePatternElement.Chained.
-
-
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(PatternElement other)
- Specified by:
compareToin interfacejava.lang.Comparable<PatternElement>
-
accept
public <R> R accept(PatternElement.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classPatternElement
-
-