Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.compoze.collab.util
Class CollectionUtility

    java.lang.Object
      com.compoze.collab.util.CollectionUtility

    public class CollectionUtility

extends Object

Class description.

Method Summary
`static void` | `addArrayToCollection(Collection c, Object[] array)` Adds all elements in an array to a collection.
`static void` | `copySerializableObjects(Map source, Map target)` Copies only `Serializable` objects from one `Map` to another.
`static ArrayList` | `createArrayList(Object[] array)` Creates a properly sized `ArrayList` from an array.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### createArrayList

    public static ArrayList createArrayList(Object[] array)

  Creates a properly sized `ArrayList` from an array.

  Returns
    the array list

### addArrayToCollection

    public static void addArrayToCollection(Collection c,
                                            Object[] array)

  Adds all elements in an array to a collection.

  Parameters
    `c` - the collection (not `null`)
    `array` - the array (not `null`)

### copySerializableObjects

    public static void copySerializableObjects(Map source,
                                               Map target)

  Copies only `Serializable` objects from one `Map` to another.

  Parameters
    `source` - the source map (not `null`)
    `target` - the target map (not `null`)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved