Class TreeValueSortedMap.ValueListIterator

  • All Implemented Interfaces:
    java.util.Iterator<V>, java.util.ListIterator<V>
    Enclosing class:
    TreeValueSortedMap<K,​V>

    protected class TreeValueSortedMap.ValueListIterator
    extends java.lang.Object
    implements java.util.ListIterator<V>
    An iterator of the values
    • Method Detail

      • add

        public void add​(V e)
        Specified by:
        add in interface java.util.ListIterator<V>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<V>
        Specified by:
        hasNext in interface java.util.ListIterator<V>
      • hasPrevious

        public boolean hasPrevious()
        Specified by:
        hasPrevious in interface java.util.ListIterator<V>
      • next

        public V next()
        Specified by:
        next in interface java.util.Iterator<V>
        Specified by:
        next in interface java.util.ListIterator<V>
      • nextIndex

        public int nextIndex()
        Specified by:
        nextIndex in interface java.util.ListIterator<V>
      • previous

        public V previous()
        Specified by:
        previous in interface java.util.ListIterator<V>
      • previousIndex

        public int previousIndex()
        Specified by:
        previousIndex in interface java.util.ListIterator<V>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<V>
        Specified by:
        remove in interface java.util.ListIterator<V>
      • set

        public void set​(V e)
        Specified by:
        set in interface java.util.ListIterator<V>