Enum Class Jval.Jtype

java.lang.Object
java.lang.Enum<Jval.Jtype>
arc.util.serialization.Jval.Jtype
All Implemented Interfaces:
Serializable, Comparable<Jval.Jtype>, Constable
Enclosing class:
Jval

public static enum Jval.Jtype extends Enum<Jval.Jtype>
Defines the known json types. There is no null type as the primitive will be null instead of the JsonValue containing null.
  • Enum Constant Details

  • Method Details

    • values

      public static Jval.Jtype[] 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 Jval.Jtype 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