public class EnumerationUtils
extends java.lang.Object
Enumeration
instances.Constructor and Description |
---|
EnumerationUtils()
EnumerationUtils is not normally instantiated.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List |
toList(java.util.Enumeration enumeration)
Creates a list based on an enumeration.
|
public EnumerationUtils()
public static java.util.List toList(java.util.Enumeration enumeration)
As the enumeration is traversed, an ArrayList of its values is created. The new list is returned.
enumeration
- the enumeration to traverse, which should not be null
.java.lang.NullPointerException
- if the enumeration parameter is null
.Copyright © 2010 - 2020 Adobe. All Rights Reserved