Class ItemResultList<I extends BasicItem>

    • Field Detail

      • data

        private final List<? extends BasicData> data
        The internal list of BasicData objects.
      • dc

        private final DbControl dc
        The DbControl that was used in the query.
      • itemClass

        private final Class<I extends BasicItem> itemClass
        The class of the items returned by the query (and this object).
      • itemType

        private final Item itemType
        The type of items returned by the query.
    • Method Detail

      • contains

        public boolean contains​(Object o)
      • get

        public I get​(int index)
        Get a BasicItem derived object.
        Returns:
        Object of type I or null if no valid item object could be fetched with the internal data object
      • indexOf

        public int indexOf​(Object o)
      • lastIndexOf

        public int lastIndexOf​(Object o)
      • isEmpty

        public boolean isEmpty()
      • listIterator

        public ListIterator<I> listIterator​(int index)
      • size

        public int size()
      • subList

        public List<I> subList​(int fromIndex,
                               int toIndex)
      • toArray

        public Object[] toArray()
      • toArray

        public <T> T[] toArray​(T[] a)
      • getItemType

        public Item getItemType()
        Get the type of items contained in this list.
        Returns:
        An Item object or null if not known