code: public State state() {
      if (selectionsIterator == null) {
        return State.RESET;
      } else if (hasNext()) {
        return State.ITERATE;
      } else {
        return State.COMPLETE;
      }
    }
docs: Returns the address selector state.
  
  @return The address selector state.