T
- Any Java Typepublic interface IClrGenericArray<T> extends IClrArray
Modifier and Type | Method and Description |
---|---|
T |
get(int index)
Gets the value at the specified position in the one-dimensional Array.
|
DotNetNativeTypes.ClrArray |
getDefaultPointer()
Gets the default clr array pointer.
|
java.lang.Class<?> |
getElementClass()
Gets statically defined returned type.
|
void |
reset()
Clear the content of the array.
|
void |
set(T value,
int index)
Sets a value to the element at the specified position in the one-dimensional Array.
|
T[] |
toArray()
Copies the elements of the IClrGenericArray to a new array.
|
getElementType, getLength, getType, getValue, indexOf, New, setValue, toClrObject
equals, getBaseObject, getFieldValue, getPropertyIndexValue, getPropertyIndexValue, getPropertyValue, invokeGenericMethod, invokeMethod, invokeVoidMethod, registerEventCallBack, registerEventCallBackWithReturn, setFieldValue, setPropertyIndexValue, setPropertyIndexValue, setPropertyValue, unRegisterEventCallBack, unRegisterEventCallBackWithReturn
DotNetNativeTypes.ClrArray getDefaultPointer()
getDefaultPointer
in interface IClrArray
java.lang.Class<?> getElementClass()
T get(int index) throws java.lang.Exception
index
- A 32-bit integer that represents the position of the Array element to get.java.lang.Exception
void set(T value, int index) throws EClrError
value
- The new value for the specified element.index
- A 32-bit integer that represents the position of the Array element to set.EClrError
void reset() throws java.lang.Exception
java.lang.Exception
T[] toArray() throws java.lang.Exception
java.lang.Exception