Package openGql.grammar
Class ShortestPathSearch.CountedShortest
- java.lang.Object
-
- openGql.grammar.ShortestPathSearch
-
- openGql.grammar.ShortestPathSearch.CountedShortest
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShortestPathSearch>
- Enclosing class:
- ShortestPathSearch
public static final class ShortestPathSearch.CountedShortest extends ShortestPathSearch implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.ShortestPathSearch
ShortestPathSearch.AllShortest, ShortestPathSearch.AnyShortest, ShortestPathSearch.CountedShortest, ShortestPathSearch.CountedShortestGroup, ShortestPathSearch.PartialVisitor<R>, ShortestPathSearch.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description CountedShortestPathSearchvalue-
Fields inherited from class openGql.grammar.ShortestPathSearch
ALL_SHORTEST, ANY_SHORTEST, COUNTED_SHORTEST, COUNTED_SHORTEST_GROUP, TYPE_
-
-
Constructor Summary
Constructors Constructor Description CountedShortest(CountedShortestPathSearch value)Constructs an immutableShortestPathSearch.CountedShortest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(ShortestPathSearch.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(ShortestPathSearch other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final CountedShortestPathSearch value
-
-
Constructor Detail
-
CountedShortest
public CountedShortest(CountedShortestPathSearch value)
Constructs an immutableShortestPathSearch.CountedShortest.
-
-
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(ShortestPathSearch other)
- Specified by:
compareToin interfacejava.lang.Comparable<ShortestPathSearch>
-
accept
public <R> R accept(ShortestPathSearch.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classShortestPathSearch
-
-