com.zmicer.utils
Class CollectionsUtils
java.lang.Object
com.zmicer.utils.CollectionsUtils
public class CollectionsUtils
- extends Object
Contains functionality for working with collections.
$Author:: zmicer $
$Rev:: 57 $
* $Date:: 2007-08-23 09:16:37 #$
Field Summary |
static org.apache.log4j.Logger |
LOG
Logger instance. |
Method Summary |
static
|
toSet(Enumeration<T> enumeration)
Convert the provided enumeration to the Set |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
- Logger instance.
CollectionsUtils
public CollectionsUtils()
toSet
public static <T> Set<T> toSet(Enumeration<T> enumeration)
- Convert the provided enumeration to the
Set
- Parameters:
enumeration
- enumeration to be converted, Can not be null (otherwise IllegalArgumentException
would appear).
- Returns:
- Set generated.
Copyright © 2007 jzmicer.team. All Rights Reserved.