Class JsonTypeArray

All Implemented Interfaces:
Serializable, Cloneable, Iterable<JsonType>, Collection<JsonType>, Deque<JsonType>, List<JsonType>, Queue<JsonType>

public final class JsonTypeArray extends LinkedList<JsonType>
Represents a list of JsonType objects.
  • Constructor Details

    • JsonTypeArray

      public JsonTypeArray()
      Default constructor.
    • JsonTypeArray

      public JsonTypeArray(JsonType... types)
      Constructor with predefined types to add to this list.
      Parameters:
      types - The list of types to add to the list.
  • Method Details

    • addAll

      public JsonTypeArray addAll(JsonType... types)
      Convenience method for adding one or more JsonType objects to this array.
      Parameters:
      types - The JsonType objects to add to this array.
      Returns:
      This object.