|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.GenericExts
public class GenericExts
Class GenericExts is responsible for generic initialization
Constructor Summary | |
---|---|
GenericExts()
|
Method Summary | ||
---|---|---|
static
|
cloneVector(java.util.Vector<T> oldVec)
cloneVector : Generic deep copy of the vector. |
|
static
|
initArrayList(java.util.ArrayList<T> pAL)
initArrayList : If arrayList is null then it will return the new arrayList of same type if it is not null then it will return the same arrayList |
|
static
|
initClearArrayList(java.util.ArrayList<T> pAL)
initArrayList : If arrayList is null then it will return the new arrayList of same type if it is not null then it will clear the arrayList |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericExts()
Method Detail |
---|
public static <T> java.util.ArrayList<T> initClearArrayList(java.util.ArrayList<T> pAL)
T
- : Type ParameterpAL
- : ArrayList to be initialized
public static <T> java.util.ArrayList<T> initArrayList(java.util.ArrayList<T> pAL)
T
- : Type ParameterpAL
- : ArrayList to be initialized
public static <T> java.util.Vector<T> cloneVector(java.util.Vector<T> oldVec)
T
- : Type of vectoroldVec
- : The original vector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |