Class IndexedList.ArrayBacked<E>

  • All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>
    Enclosing class:
    IndexedList<E>

    public abstract static class IndexedList.ArrayBacked<E>
    extends IndexedList<E>
    Author:
    Eike Stepper
    • Constructor Detail

      • ArrayBacked

        public ArrayBacked()
    • Method Detail

      • getArray

        protected abstract E[] getArray()
      • get

        public E get​(int i)
        Specified by:
        get in interface java.util.List<E>
        Specified by:
        get in class IndexedList<E>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<E>
        Specified by:
        size in interface java.util.List<E>
        Specified by:
        size in class IndexedList<E>