Package jmri.util
Class IterableEnumeration<T>
- java.lang.Object
-
- jmri.util.IterableEnumeration<T>
-
- Type Parameters:
T
- the supported type
- All Implemented Interfaces:
java.lang.Iterable<T>
public class IterableEnumeration<T> extends java.lang.Object implements java.lang.Iterable<T>
Provide anIterable
interface for an Enumeration
-
-
Constructor Summary
Constructors Constructor Description IterableEnumeration(java.util.Enumeration<T> en)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<T>
iterator()
static <T> java.lang.Iterable<T>
make(java.util.Enumeration<T> en)
-