Oracle

com.compoze.util
Class CollectionUtility

java.lang.Object
  extended by com.compoze.util.CollectionUtility

public class CollectionUtility
extends java.lang.Object

This class contains utility methods that operate on collections.


Constructor Summary
CollectionUtility()
           
 
Method Summary
static int[] getIntArray(java.util.Collection c)
          Given a collection of integer objects, get an array of equal size containing ints.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionUtility

public CollectionUtility()
Method Detail

getIntArray

public static int[] getIntArray(java.util.Collection c)
Given a collection of integer objects, get an array of equal size containing ints.

Parameters:
c - the collection
Returns:
the array of ints

Oracle

Copyright ©1999-2008 Oracle All rights reserved.