Class Double_

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Double_>

    public class Double_
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<Double_>
    A component of the ShEx Double production
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Double_.Builder
      A fluent builder for Double_.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Name TYPE_
      Name of the hydra.shex.syntax.Double type.
      java.lang.String value  
      static Name VALUE
      Name of the hydra.shex.syntax.Double.value field.
    • Constructor Summary

      Constructors 
      Constructor Description
      Double_​(java.lang.String value)
      Constructs an immutable Double_.
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the hydra.shex.syntax.Double type.
      • VALUE

        public static final Name VALUE
        Name of the hydra.shex.syntax.Double.value field.
      • value

        public final java.lang.String value
    • Constructor Detail

      • Double_

        public Double_​(java.lang.String value)
        Constructs an immutable Double_.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • compareTo

        public int compareTo​(Double_ other)
        Specified by:
        compareTo in interface java.lang.Comparable<Double_>