Class AbstractHistoricalList<E,​L extends java.util.List<E>>

    • Constructor Detail

      • AbstractHistoricalList

        protected AbstractHistoricalList​(HistoryManager historyManager,
                                         L list)
        Constructor.
        Parameters:
        historyManager - HistoryManager; history manager
        list - L; initial list
    • Method Detail

      • add

        public void add​(int index,
                        E value)
        Specified by:
        add in interface java.util.List<E>
      • add

        public boolean add​(E value)
        Specified by:
        add in interface java.util.Collection<E>
        Specified by:
        add in interface java.util.List<E>
        Overrides:
        add in class AbstractHistoricalCollection<E,​L extends java.util.List<E>>
      • remove

        public E remove​(int index)
        Specified by:
        remove in interface java.util.List<E>
      • remove

        public boolean remove​(java.lang.Object value)
        Specified by:
        remove in interface java.util.Collection<E>
        Specified by:
        remove in interface java.util.List<E>
        Overrides:
        remove in class AbstractHistoricalCollection<E,​L extends java.util.List<E>>
      • set

        public E set​(int index,
                     E value)
        Specified by:
        set in interface java.util.List<E>
      • addAll

        public boolean addAll​(int index,
                              java.util.Collection<? extends E> c)
        Specified by:
        addAll in interface java.util.List<E>
      • get

        public E get​(int index)
        Specified by:
        get in interface java.util.List<E>
      • indexOf

        public int indexOf​(java.lang.Object o)
        Specified by:
        indexOf in interface java.util.List<E>
      • lastIndexOf

        public int lastIndexOf​(java.lang.Object o)
        Specified by:
        lastIndexOf in interface java.util.List<E>
      • listIterator

        public java.util.ListIterator<E> listIterator()
        Specified by:
        listIterator in interface java.util.List<E>
      • listIterator

        public java.util.ListIterator<E> listIterator​(int index)
        Specified by:
        listIterator in interface java.util.List<E>
      • subList

        public java.util.List<E> subList​(int fromIndex,
                                         int toIndex)
        Specified by:
        subList in interface java.util.List<E>