Class ConstantSet.ConstantImpl

    • Field Detail

      • constant

        private final Constant constant
    • Constructor Detail

      • ConstantImpl

        ConstantImpl​(Constant constant)
    • Method Detail

      • value

        public int value()
        Specified by:
        value in interface Constant
      • intValue

        public int intValue()
        Specified by:
        intValue in interface Constant
      • longValue

        public long longValue()
        Specified by:
        longValue in interface Constant
      • name

        public java.lang.String name()
        Specified by:
        name in interface Constant
      • defined

        public boolean defined()
        Specified by:
        defined in interface Constant
      • hashCode

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

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

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