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
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 |
CollectionUtils
public CollectionUtils()
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 Number
s contained
in nums
.