db4o 6.1

com.db4o.reflect.self
Class SelfArray

java.lang.Object
  extended by com.db4o.reflect.self.SelfArray
All Implemented Interfaces:
ReflectArray

public class SelfArray
extends java.lang.Object
implements ReflectArray


Method Summary
 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)
           
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dimensions

public int[] dimensions(java.lang.Object arr)
Specified by:
dimensions in interface ReflectArray

flatten

public int flatten(java.lang.Object a_shaped,
                   int[] a_dimensions,
                   int a_currentDimension,
                   java.lang.Object[] a_flat,
                   int a_flatElement)
Specified by:
flatten in interface ReflectArray

get

public java.lang.Object get(java.lang.Object onArray,
                            int index)
Specified by:
get in interface ReflectArray

getComponentType

public ReflectClass getComponentType(ReflectClass a_class)
Specified by:
getComponentType in interface ReflectArray

getLength

public int getLength(java.lang.Object array)
Specified by:
getLength in interface ReflectArray

isNDimensional

public boolean isNDimensional(ReflectClass a_class)
Specified by:
isNDimensional in interface ReflectArray

newInstance

public java.lang.Object newInstance(ReflectClass componentType,
                                    int length)
Specified by:
newInstance in interface ReflectArray

newInstance

public java.lang.Object newInstance(ReflectClass componentType,
                                    int[] dimensions)
Specified by:
newInstance in interface ReflectArray

set

public void set(java.lang.Object onArray,
                int index,
                java.lang.Object element)
Specified by:
set in interface ReflectArray

shape

public int shape(java.lang.Object[] a_flat,
                 int a_flatElement,
                 java.lang.Object a_shaped,
                 int[] a_dimensions,
                 int a_currentDimension)
Specified by:
shape in interface ReflectArray

db4o 6.1