private void moveToNext() {
    if (iter.hasNext()) {
      current = iter.next();
    } else {
      current = null;
    }
  }
A procedure iterator which holds all the procedure protos in memory. For fast access.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/InMemoryProcedureIterator.java