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