at.gv.egovernment.moa.util
Class CollectionUtils

java.lang.Object
  |
  +--at.gv.egovernment.moa.util.CollectionUtils

public class CollectionUtils
extends Object

Various utility methods for dealing with java.util.Collection classes.

Version:
$Id$
Author:
Patrick Peck

Constructor Summary
CollectionUtils()
           
 
Method Summary
static int[] toIntArray(List nums)
          Convert a List of Number objects to an int array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtils

public CollectionUtils()
Method Detail

toIntArray

public static int[] toIntArray(List nums)
Convert a List of Number objects to an int array.
Parameters:
nums - The List containing the numbers whose integer value to put into the result.
Returns:
The int values of the Numbers contained in nums.