code: public static <E> Iterable<E> singleton(final E single) {
          return new Iterable<E>() {
              @Override
              public Iterator<E> iterator() {
                  return new OnceOnlyIterator<E>(single);
              }
          };
      }
docs: An iterable containing a single element.