|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.util.CollectionsUtil
public class CollectionsUtil
Collections Utilities.
| Method Summary | ||
|---|---|---|
static
|
toList(Enumeration<T> objects)
Create an Object List from the supplied Enumeration of objects. |
|
static
|
toList(T... objects)
Create an Object List from the supplied objects. |
|
static
|
toSet(T... objects)
Create an Object Set from the supplied objects. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> Set<T> toSet(T... objects)
Set from the supplied objects.
objects - The objects to be added to the set.
Set.public static <T> List<T> toList(T... objects)
List from the supplied objects.
objects - The objects to be added to the list.
List.public static <T> List<T> toList(Enumeration<T> objects)
List from the supplied Enumeration of objects.
objects - The objects to be added to the list.
List.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||