| java.lang.Object com.tc.object.bytecode.hook.impl.ArrayManager
ArrayManager | public class ArrayManager (Code) | | Global array manager. The basic purpose of this class to maintain the relationship to DSO managed arrays to their
respective TCObject
|
Method Summary | |
public static void | arraycopy(Object src, int srcPos, Object dest, int destPos, int length) | public static void | byteOrBooleanArrayChanged(Object array, int index, byte value) | public static void | charArrayChanged(char[] array, int index, char value) | public static void | charArrayCopy(char[] src, int srcPos, char[] dest, int destPos, int length, TCObject tcDest) | public static void | doubleArrayChanged(double[] array, int index, double value) | public static void | floatArrayChanged(float[] array, int index, float value) | public static Object | get(Object array, int index) | public static TCObject | getCloneObject(Object array) | public static TCObject | getObject(Object array) | public static void | intArrayChanged(int[] array, int index, int value) | public static void | longArrayChanged(long[] array, int index, long value) | public static void | objectArrayChanged(Object[] array, int index, Object value) | public static void | register(Object array, TCObject tco) Register an array with its TCO. | public static void | shortArrayChanged(short[] array, int index, short value) |
arraycopy | public static void arraycopy(Object src, int srcPos, Object dest, int destPos, int length)(Code) | | Handle System.arraycopy() semantics with managed arrays
Parameters: src - Source array Parameters: srcPos - Start index in source Parameters: dest - Destination array Parameters: destPos - Destination start index Parameters: length - Number of items to copy throws: NullPointerException - If src or dest is null |
byteOrBooleanArrayChanged | public static void byteOrBooleanArrayChanged(Object array, int index, byte value)(Code) | | Indicate that byte or boolean in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
charArrayChanged | public static void charArrayChanged(char[] array, int index, char value)(Code) | | Indicate that char in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
charArrayCopy | public static void charArrayCopy(char[] src, int srcPos, char[] dest, int destPos, int length, TCObject tcDest)(Code) | | Copy char[]
Parameters: src - Source array Parameters: srcPos - Start in src Parameters: dest - Destination array Parameters: destPos - Start in dest Parameters: length - Number of items to copy Parameters: tcDest - TCObject for dest array |
doubleArrayChanged | public static void doubleArrayChanged(double[] array, int index, double value)(Code) | | Indicate that double in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
floatArrayChanged | public static void floatArrayChanged(float[] array, int index, float value)(Code) | | Indicate that float in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
get | public static Object get(Object array, int index)(Code) | | For java.lang.reflect.Array.get()
Parameters: array - The array Parameters: index - Index into the array Item in array at index, boxed to Object if primitive array throws: NullPointerException - If array is null throws: IllegalArgumentException - If array is not an array type |
getCloneObject | public static TCObject getCloneObject(Object array)(Code) | | Get TCObject for a cloned array
Parameters: array - Array TCObject |
getObject | public static TCObject getObject(Object array)(Code) | | Get the TCO for an array
Parameters: array - The array instance The TCObject |
intArrayChanged | public static void intArrayChanged(int[] array, int index, int value)(Code) | | Indicate that int in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
longArrayChanged | public static void longArrayChanged(long[] array, int index, long value)(Code) | | Indicate that long in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
objectArrayChanged | public static void objectArrayChanged(Object[] array, int index, Object value)(Code) | | Indicate that object in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
register | public static void register(Object array, TCObject tco)(Code) | | Register an array with its TCO. It is an error to register an array that has already
been registered.
Parameters: array - Array Parameters: tco - TCObject throws: NullPointerException - if array or tco are null |
shortArrayChanged | public static void shortArrayChanged(short[] array, int index, short value)(Code) | | Indicate that short in array changed
Parameters: array - The array Parameters: index - The index into array Parameters: value - The new value |
|
|