Class SynchronizedIterator4

  • All Implemented Interfaces:
    Iterator4

    public class SynchronizedIterator4
    extends java.lang.Object
    implements Iterator4
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object current()  
      boolean moveNext()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SynchronizedIterator4

        public SynchronizedIterator4​(Iterator4 delegate_,
                                     java.lang.Object lock)
    • Method Detail

      • current

        public java.lang.Object current()
        Specified by:
        current in interface Iterator4
      • moveNext

        public boolean moveNext()
        Specified by:
        moveNext in interface Iterator4
      • reset

        public void reset()
        Specified by:
        reset in interface Iterator4