Class Utilities

java.lang.Object
  extended by Utilities

public final class Utilities
extends java.lang.Object

Some utility functions.


Constructor Summary
Utilities()
           
 
Method Summary
static
<T extends CloneableEx>
java.util.ArrayList<T>
deepCopy(java.util.ArrayList<T> arrayList)
          Performs a deep copy of the specified ArrayList.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

deepCopy

public static <T extends CloneableEx> java.util.ArrayList<T> deepCopy(java.util.ArrayList<T> arrayList)
Performs a deep copy of the specified ArrayList.

Type Parameters:
T - A type that extends the CloneableEx interface.
Parameters:
arrayList - The array list to be deep copied.
Returns:
A deep copy of the specified array list.