Enum Class Whence

java.lang.Object
java.lang.Enum<Whence>
dev.gothickit.zenkit.Whence
All Implemented Interfaces:
EnumNative<Whence>, Serializable, Comparable<Whence>, Constable

public enum Whence extends Enum<Whence> implements EnumNative<Whence>
  • Enum Constant Details

    • BEGIN

      public static final Whence BEGIN
    • CURRENT

      public static final Whence CURRENT
    • END

      public static final Whence END
  • Method Details

    • values

      public static Whence[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Whence valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      @Contract(pure=true) public int getIntValue()
      Specified by:
      getIntValue in interface EnumNative<Whence>
    • getForValue

      @Contract(pure=true) @Nullable public @Nullable Whence getForValue(int i)
      Specified by:
      getForValue in interface EnumNative<Whence>