Interface ItemList

  • All Superinterfaces:
    java.util.Collection<Item>, ItemListBase<Item>, java.lang.Iterable<Item>, java.util.List<Item>
    All Known Implementing Classes:
    ItemListImpl

    public interface ItemList
    extends ItemListBase<Item>
    Interface representing the back-end view of a list of Item. Basically this is just a convenience interface to type the ItemListBase with Item as Item Type.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Item[] toItemArray()
      A bridge method between Collection and Array.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Method Detail

      • toItemArray

        Item[] toItemArray()
        A bridge method between Collection and Array. The same as calling myList.toArray(new Item[myList.size()])
        Returns:
        ItemList as typed Array