Package openGql.grammar
Class PathFactor.QuantifiedPrimary
- java.lang.Object
-
- openGql.grammar.PathFactor
-
- openGql.grammar.PathFactor.QuantifiedPrimary
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PathFactor>
- Enclosing class:
- PathFactor
public static final class PathFactor.QuantifiedPrimary extends PathFactor implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.PathFactor
PathFactor.PartialVisitor<R>, PathFactor.Primary, PathFactor.QuantifiedPrimary, PathFactor.QuestionedPrimary, PathFactor.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description QuantifiedPathPrimaryvalue-
Fields inherited from class openGql.grammar.PathFactor
PRIMARY, QUANTIFIED_PRIMARY, QUESTIONED_PRIMARY, TYPE_
-
-
Constructor Summary
Constructors Constructor Description QuantifiedPrimary(QuantifiedPathPrimary value)Constructs an immutablePathFactor.QuantifiedPrimary.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(PathFactor.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(PathFactor other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final QuantifiedPathPrimary value
-
-
Constructor Detail
-
QuantifiedPrimary
public QuantifiedPrimary(QuantifiedPathPrimary value)
Constructs an immutablePathFactor.QuantifiedPrimary.
-
-
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(PathFactor other)
- Specified by:
compareToin interfacejava.lang.Comparable<PathFactor>
-
accept
public <R> R accept(PathFactor.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classPathFactor
-
-