Enum Class DictionaryComponents.Type

java.lang.Object
java.lang.Enum<DictionaryComponents.Type>
com.singularsys.jep.misc.dictionary.DictionaryComponents.Type
All Implemented Interfaces:
Serializable, Comparable<DictionaryComponents.Type>, Constable
Enclosing class:
DictionaryComponents

public static enum DictionaryComponents.Type extends Enum<DictionaryComponents.Type>
Type of configuration.
  • Enum Constant Details

    • MAP_MISSING_VALUES

      public static final DictionaryComponents.Type MAP_MISSING_VALUES
      Using Map allowing missing values {'x':3, 'y'} . The Entries command will return [['x',3],['y',nullValue]]
    • MAP_REQUIRE_VALUES

      public static final DictionaryComponents.Type MAP_REQUIRE_VALUES
      Using Map requiring a value for each key.
    • LIST_MISSING_VALUES

      public static final DictionaryComponents.Type LIST_MISSING_VALUES
      Using doubly nested Vector and allowing missing values. The Entries command will return [['x',3],['y',nullValue]]
    • LIST_REQUIRE_VALUES

      public static final DictionaryComponents.Type LIST_REQUIRE_VALUES
      Using doubly nested Vector and requiring a value for each key.
  • Method Details

    • values

      public static DictionaryComponents.Type[] 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 DictionaryComponents.Type 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