docs: public List iterateObjectsToList() {
          List result = new ArrayList();
          Iterator iterator = iterateObjects();
          for (; iterator.hasNext(); ) {
              result.add(iterator.next());
          }
          return result;
      }