public class EnumerationUtils extends Object
Enumeration instances.| Constructor and Description |
|---|
EnumerationUtils()
EnumerationUtils is not normally instantiated.
|
public EnumerationUtils()
public static List toList(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.NullPointerException - if the enumeration parameter is null.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.