Enum Class ObjectField.RepeatedBehavior

java.lang.Object
java.lang.Enum<ObjectField.RepeatedBehavior>
io.deephaven.json.ObjectField.RepeatedBehavior
All Implemented Interfaces:
Serializable, Comparable<ObjectField.RepeatedBehavior>, java.lang.constant.Constable
Enclosing class:
ObjectField

public static enum ObjectField.RepeatedBehavior extends Enum<ObjectField.RepeatedBehavior>
The behavior when a repeated field is encountered in a JSON object. For example, as in:
 {
   "foo": 1,
   "foo": 2
 }
 
  • Enum Constant Details

  • Method Details

    • values

      public static ObjectField.RepeatedBehavior[] 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 ObjectField.RepeatedBehavior 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