Class EnumValue

  • All Implemented Interfaces:
    java.io.Serializable

    public final class EnumValue
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String symbol  
      long value  
    • Constructor Summary

      Constructors 
      Constructor Description
      EnumValue​(java.lang.String symbol, long value)  
    • Field Detail

      • symbol

        public final java.lang.String symbol
      • value

        public final long value
    • Constructor Detail

      • EnumValue

        public EnumValue​(java.lang.String symbol,
                         long value)
    • Method Detail

      • autoNumber

        public static EnumValue[] autoNumber​(boolean bitmask,
                                             java.lang.String... symbols)
      • toString

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

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

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

        public java.lang.String getNormalizedSymbol()