Class EnumerationIterable<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Iterable<T>, Iterator<T>

    public class EnumerationIterable<T>
    extends Object
    implements Iterable<T>, Iterator<T>
    Single shot wrapper for an enum that allows it to be used in for-each loops