Package openGql.grammar
Class MatchMode.RepeatableElements
- java.lang.Object
-
- openGql.grammar.MatchMode
-
- openGql.grammar.MatchMode.RepeatableElements
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatchMode>
- Enclosing class:
- MatchMode
public static final class MatchMode.RepeatableElements extends MatchMode implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.MatchMode
MatchMode.DifferentEdges, MatchMode.PartialVisitor<R>, MatchMode.RepeatableElements, MatchMode.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description ElementBindingsOrElementsvalue-
Fields inherited from class openGql.grammar.MatchMode
DIFFERENT_EDGES, REPEATABLE_ELEMENTS, TYPE_
-
-
Constructor Summary
Constructors Constructor Description RepeatableElements(ElementBindingsOrElements value)Constructs an immutableMatchMode.RepeatableElements.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(MatchMode.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(MatchMode other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final ElementBindingsOrElements value
-
-
Constructor Detail
-
RepeatableElements
public RepeatableElements(ElementBindingsOrElements value)
Constructs an immutableMatchMode.RepeatableElements.
-
-
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(MatchMode other)
- Specified by:
compareToin interfacejava.lang.Comparable<MatchMode>
-
accept
public <R> R accept(MatchMode.Visitor<R> visitor)
Dispatch tovisitor.
-
-