Package io.microsphere.collection
Class EnumerationUtils
- java.lang.Object
-
- io.microsphere.collection.EnumerationUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> java.util.Enumeration<E>
of(E... elements)
Create aEnumeration
instance from the specified elementsstatic <E> java.util.Enumeration<E>
ofEnums(E... elements)
Create aEnumeration
instance from the specified elements
-
-
-
Method Detail
-
of
public static <E> java.util.Enumeration<E> of(E... elements)
Create aEnumeration
instance from the specified elements- Type Parameters:
E
- the type of element- Parameters:
elements
- the specified elements- Returns:
- non-null
-
ofEnums
public static <E> java.util.Enumeration<E> ofEnums(E... elements)
Create aEnumeration
instance from the specified elements- Type Parameters:
E
- the type of element- Parameters:
elements
- the specified elements- Returns:
- non-null
-
-