Class AbstractLinkedList.LinkedSubList<E>

    • Constructor Detail

      • LinkedSubList

        protected LinkedSubList(AbstractLinkedList<E> parent,
                                int fromIndex,
                                int toIndex)
    • Method Detail

      • size

        public int size()
      • get

        public E get(int index)
      • add

        public void add(int index,
                        E obj)
      • remove

        public E remove(int index)
      • addAll

        public boolean addAll(Collection<? extends E> coll)
      • addAll

        public boolean addAll(int index,
                              Collection<? extends E> coll)
      • set

        public E set(int index,
                     E obj)
      • clear

        public void clear()
      • subList

        public List<E> subList(int fromIndexInclusive,
                               int toIndexExclusive)
      • rangeCheck

        protected void rangeCheck(int index,
                                  int beyond)
      • checkModCount

        protected void checkModCount()