Package hydra.pg.graphson.syntax
Class FloatValue.Infinity
- java.lang.Object
-
- hydra.pg.graphson.syntax.FloatValue
-
- hydra.pg.graphson.syntax.FloatValue.Infinity
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FloatValue>
- Enclosing class:
- FloatValue
public static final class FloatValue.Infinity extends FloatValue implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.pg.graphson.syntax.FloatValue
FloatValue.Finite, FloatValue.Infinity, FloatValue.NegativeInfinity, FloatValue.NotANumber, FloatValue.PartialVisitor<R>, FloatValue.Visitor<R>
-
-
Field Summary
-
Fields inherited from class hydra.pg.graphson.syntax.FloatValue
FINITE, INFINITY, NEGATIVE_INFINITY, NOT_A_NUMBER, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Infinity()Constructs an immutableFloatValue.Infinity.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(FloatValue.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(FloatValue other)booleanequals(java.lang.Object other)inthashCode()inthydraOrdinal()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Infinity
public Infinity()
Constructs an immutableFloatValue.Infinity.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(FloatValue other)
- Specified by:
compareToin interfacejava.lang.Comparable<FloatValue>
-
hydraOrdinal
public int hydraOrdinal()
- Specified by:
hydraOrdinalin classFloatValue
-
accept
public <R> R accept(FloatValue.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classFloatValue
-
-