|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.EnumerationUtils
public class EnumerationUtils
Provides utility methods for Enumeration instances.
| Constructor Summary | |
|---|---|
EnumerationUtils()
EnumerationUtils is not normally instantiated. |
|
| Method Summary | |
|---|---|
static java.util.List |
toList(java.util.Enumeration enumeration)
Creates a list based on an enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationUtils()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||