Class StringEnumAbstractBase

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StringEnumAbstractBase.Table
      Used to manage singleton instances of enumerations.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int hashCode()
      Returns the hash code of the underlying string
      int intValue()
      Returns an int code that can be used for switch statements
      java.lang.String toString()
      Returns the underlying string value
      • Methods inherited from class java.lang.Object

        equals, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        public final java.lang.String toString()
        Returns the underlying string value
        Overrides:
        toString in class java.lang.Object
      • intValue

        public final int intValue()
        Returns an int code that can be used for switch statements
      • hashCode

        public final int hashCode()
        Returns the hash code of the underlying string
        Overrides:
        hashCode in class java.lang.Object