Interface CustomValue.CvObject

All Superinterfaces:
CustomValue, Iterable<Map.Entry<String,CustomValue>>
Enclosing interface:
CustomValue

public static interface CustomValue.CvObject extends CustomValue, Iterable<Map.Entry<String,CustomValue>>
Represents an CustomValue.CvType.OBJECT value.
  • Method Details

    • size

      int size()
      Returns the number of key-value pairs within this object value.
    • containsKey

      boolean containsKey(String key)
      Returns whether a key is present within this object value.
      Parameters:
      key - the key to check
      Returns:
      whether the key is present
    • get

      CustomValue get(String key)
      Gets the value associated with a key within this object value.
      Parameters:
      key - the key to check
      Returns:
      the value associated, or null if no such value is present