docs: public List<T> values() {
          List<T> result = new ArrayList<T>();
          for (Iterator<T> itr = iterator(); itr.hasNext(); ) {
              result.add(itr.next());
          }
          return result;
      }