Package com.db4o.reflect
Interface ReflectArray
-
- All Known Implementing Classes:
AbstractReflectArray
,GenericArrayReflector
,JdkArray
public interface ReflectArray
representation for java.lang.reflect.Array.
See the respective documentation in the JDK API.- See Also:
Reflector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
analyze(java.lang.Object obj, ArrayInfo info)
int[]
dimensions(java.lang.Object arr)
int
flatten(java.lang.Object a_shaped, int[] a_dimensions, int a_currentDimension, java.lang.Object[] a_flat, int a_flatElement)
java.lang.Object
get(java.lang.Object onArray, int index)
ReflectClass
getComponentType(ReflectClass a_class)
int
getLength(java.lang.Object array)
boolean
isNDimensional(ReflectClass a_class)
java.lang.Object
newInstance(ReflectClass componentType, int length)
java.lang.Object
newInstance(ReflectClass componentType, int[] dimensions)
java.lang.Object
newInstance(ReflectClass componentType, ArrayInfo info)
void
set(java.lang.Object onArray, int index, java.lang.Object element)
int
shape(java.lang.Object[] a_flat, int a_flatElement, java.lang.Object a_shaped, int[] a_dimensions, int a_currentDimension)
-
-
-
Method Detail
-
analyze
void analyze(java.lang.Object obj, ArrayInfo info)
-
dimensions
int[] dimensions(java.lang.Object arr)
-
flatten
int flatten(java.lang.Object a_shaped, int[] a_dimensions, int a_currentDimension, java.lang.Object[] a_flat, int a_flatElement)
-
get
java.lang.Object get(java.lang.Object onArray, int index)
-
getComponentType
ReflectClass getComponentType(ReflectClass a_class)
-
getLength
int getLength(java.lang.Object array)
-
isNDimensional
boolean isNDimensional(ReflectClass a_class)
-
newInstance
java.lang.Object newInstance(ReflectClass componentType, ArrayInfo info)
-
newInstance
java.lang.Object newInstance(ReflectClass componentType, int length)
-
newInstance
java.lang.Object newInstance(ReflectClass componentType, int[] dimensions)
-
set
void set(java.lang.Object onArray, int index, java.lang.Object element)
-
shape
int shape(java.lang.Object[] a_flat, int a_flatElement, java.lang.Object a_shaped, int[] a_dimensions, int a_currentDimension)
-
-