Package signalprocesser.shared
Class Reflect
java.lang.Object
signalprocesser.shared.Reflect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
cloneCollection
(Collection oldcollection) static Collection
cloneCollection
(Collection oldcollection, int maxdepth) static Object
cloneObject
(Object obj) static Object
cloneObject
(Object obj, int maxdepth) static Vector
cloneVector
(Vector oldcollection) static Vector
cloneVector
(Vector oldcollection, int maxdepth) static Field
static Integer
getinteger
(Object obj, String fieldname) static Object
static String
static void
migrateobj
(Object obj, Class template, Object newobj) static Object
newInstance
(Class myclass) static Object
newInstance
(Object myobject) static void
static void
static void
setinteger
(Object obj, String fieldname, Object value)
-
Constructor Details
-
Reflect
public Reflect()
-
-
Method Details
-
getinteger
-
getstring
-
getobject
-
setinteger
-
migrateobj
-
getfield
-
setfield
-
setfield
-
cloneObject
-
cloneObject
-
cloneVector
-
cloneVector
-
cloneCollection
-
cloneCollection
-
newInstance
public static Object newInstance(Class myclass) throws IllegalAccessException, InstantiationException -
newInstance
public static Object newInstance(Object myobject) throws IllegalAccessException, InstantiationException
-