psdi.iface.mic

Class ObjectListIterator

  • java.lang.Object
    • psdi.iface.mic.ObjectListIterator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void add(java.lang.Object o)
      Adds object to iterator
      boolean hasNext()
      Checks if Iterator has next value
      boolean hasPrevious()
      Checks if Iterator has Previous value
      java.lang.Object next()
      Returns next object in iterator
      int nextIndex()
      Return next index
      java.lang.Object previous()
      Returns previous object in iterator
      int previousIndex()
      Return previous index
      void remove()
      Removes from iterator
      void set(java.lang.Object o)
      Sets object to iterator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • ObjectListIterator

        public ObjectListIterator()
        Default Constructor
      • ObjectListIterator

        public ObjectListIterator(java.util.ListIterator lt)
        Constructor
        Parameters:
        it - Original ListIterator.
    • Method Detail

      • nextIndex

        public int nextIndex()
        Return next index
        Specified by:
        nextIndex in interface java.util.ListIterator
        Returns:
        next index
      • previousIndex

        public int previousIndex()
        Return previous index
        Specified by:
        previousIndex in interface java.util.ListIterator
        Returns:
        previous index
      • remove

        public void remove()
        Removes from iterator
        Specified by:
        remove in interface java.util.Iterator
        Specified by:
        remove in interface java.util.ListIterator
      • hasNext

        public boolean hasNext()
        Checks if Iterator has next value
        Specified by:
        hasNext in interface java.util.Iterator
        Specified by:
        hasNext in interface java.util.ListIterator
        Returns:
        true or false
      • hasPrevious

        public boolean hasPrevious()
        Checks if Iterator has Previous value
        Specified by:
        hasPrevious in interface java.util.ListIterator
        Returns:
        true or false
      • next

        public java.lang.Object next()
        Returns next object in iterator
        Specified by:
        next in interface java.util.Iterator
        Specified by:
        next in interface java.util.ListIterator
        Returns:
        next object in iterator
      • previous

        public java.lang.Object previous()
        Returns previous object in iterator
        Specified by:
        previous in interface java.util.ListIterator
        Returns:
        previous object in iterator
      • add

        public void add(java.lang.Object o)
        Adds object to iterator
        Specified by:
        add in interface java.util.ListIterator
        Parameters:
        o - object to add
      • set

        public void set(java.lang.Object o)
        Sets object to iterator
        Specified by:
        set in interface java.util.ListIterator
        Parameters:
        o - object to set