Class SetUniqueList.SetListListIterator

  • All Implemented Interfaces:
    java.util.Iterator, java.util.ListIterator
    Enclosing class:
    SetUniqueList

    static class SetUniqueList.SetListListIterator
    extends AbstractListIteratorDecorator
    Inner class iterator.
    • Field Detail

      • set

        protected final java.util.Set set
      • last

        protected java.lang.Object last
    • Constructor Detail

      • SetListListIterator

        protected SetListListIterator​(java.util.ListIterator it,
                                      java.util.Set set)
    • Method Detail

      • next

        public java.lang.Object next()
        Specified by:
        next in interface java.util.Iterator
        Specified by:
        next in interface java.util.ListIterator
        Overrides:
        next in class AbstractListIteratorDecorator
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator
        Specified by:
        remove in interface java.util.ListIterator
        Overrides:
        remove in class AbstractListIteratorDecorator
      • add

        public void add​(java.lang.Object object)
        Specified by:
        add in interface java.util.ListIterator
        Overrides:
        add in class AbstractListIteratorDecorator
      • set

        public void set​(java.lang.Object object)
        Specified by:
        set in interface java.util.ListIterator
        Overrides:
        set in class AbstractListIteratorDecorator