Class LoopTool.SyncedIterator

    • Constructor Detail

      • SyncedIterator

        public SyncedIterator​(Iterator iterator)
    • Method Detail

      • shift

        public void shift()
        If the sync'ed iterator has any more values, this sets the next() value as the current one. If there are no more values, this sets the current one to null.
      • get

        public Object get()
        Returns the currently parallel value, if any.