Interface Items

  • All Superinterfaces:
    Collection<Item>, Iterable<Item>, List<Item>

    public interface Items
    extends List<Item>
    An ordered list of items, some of which might be key/value pairs, and some of which might be raw values.
    Author:
    Curtis Rueden
    • Method Detail

      • asMap

        Map<String,​Object> asMap()
        Gets the parsed items as a map. The map will have the same iteration order as the original list.
      • isMap

        boolean isMap()
        Returns true iff all items are named key/value pairs.
      • isList

        boolean isList()
        Returns true iff there are no named key/value pairs among the items.