com.zmicer.utils
Class CollectionsUtils

java.lang.Object
  extended by 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.
 
Constructor Summary
CollectionsUtils()
           
 
Method Summary
static
<T> Set<T>
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
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Logger instance.

Constructor Detail

CollectionsUtils

public CollectionsUtils()
Method Detail

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.