code: public static <T> Iterable<T> removeDups(final Iterable<T> base) {
          return new Iterable<T>() {
              public Iterator<T> iterator() {
                  return removeDups(base.iterator());
              }
          };
      }
docs: Filters another iterator by eliminating duplicates.