Package generic.stl

Class MapIteratorSTL<K,​V>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      ChangeModifier and Type Method Description
      void assign​(IteratorSTL<Pair<K,​V>> otherIterator)
      'Assigns' this iterator to be equivalent to the given iterator.
      IteratorSTL<Pair<K,​V>> copy()
      Creates a copy of this iterator.
      IteratorSTL<Pair<K,​V>> decrement()
      Devance the iterator to the previous position.
      IteratorSTL<Pair<K,​V>> decrement​(int n)
      Devances the iterator n positions.
      boolean equals​(java.lang.Object obj)  
      Pair<K,​V> get()
      Returns the current value of the iterator.
      IteratorSTL<Pair<K,​V>> increment()
      Advances the iterator to the next position.
      IteratorSTL<Pair<K,​V>> increment​(int n)
      Advances the iterator n positions.
      void insert​(Pair<K,​V> value)
      Inserts the given value at the current position (the current value will be pushed to the next value).
      boolean isBegin()
      Returns true if the iterator is positioned on the first first element of the collection.
      boolean isEnd()
      Returns true if the iterator is positioned past the last element of the collection.
      void set​(Pair<K,​V> value)
      Sets the current value of the iterator to the given value.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail