Interface K_VATTR

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String name()
      Returns the name of this enum constant, exactly as declared in its enum declaration.
      int toInt()
      Returns a specific integer value for the enumeration constant.
      java.lang.String toString()
      Returns the name of this enum constant, as contained in the declaration.
    • Method Detail

      • toInt

        int toInt()
        Returns a specific integer value for the enumeration constant. This method is needed to serialize enumeration constants.
        Returns:
        the specified value of the enumeration constant
      • name

        java.lang.String name()
        Returns the name of this enum constant, exactly as declared in its enum declaration. Most programmers should use the toString() method in preference to this one, as the toString method may return a more user-friendly name. This method is designed primarily for use in specialized situations where correctness depends on getting the exact name, which will not vary from release to release.
        Returns:
        the name of this enum constant
      • toString

        java.lang.String toString()
        Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum type should override this method when a more "programmer-friendly" string form exists.
        Overrides:
        toString in class java.lang.Object
        Returns:
        the name of this enum constant