Package com.db4o.internal.handlers.array
Class MultidimensionalArrayHandler
- java.lang.Object
-
- com.db4o.internal.handlers.array.ArrayHandler
-
- com.db4o.internal.handlers.array.MultidimensionalArrayHandler
-
- All Implemented Interfaces:
DeepClone
,Comparable4
,VariableLengthTypeHandler
,VersionedTypeHandler
,CascadingTypeHandler
,QueryableTypeHandler
,TypeHandler4
,ValueTypeHandler
- Direct Known Subclasses:
MultidimensionalArrayHandler3
public class MultidimensionalArrayHandler extends ArrayHandler
n-dimensional array
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.handlers.array.ArrayHandler
_versionHelper
-
-
Constructor Summary
Constructors Constructor Description MultidimensionalArrayHandler()
MultidimensionalArrayHandler(TypeHandler4 a_handler, boolean a_isPrimitive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator4
allElements(ObjectContainerBase container, java.lang.Object array)
static Iterator4
allElementsMultidimensional(ReflectArray reflectArray, java.lang.Object array)
protected void
analyzeDimensions(ObjectContainerBase container, java.lang.Object obj, ArrayInfo info)
protected static int
elementCount(int[] a_dim)
byte
identifier()
protected ArrayInfo
newArrayInfo()
protected void
readDimensions(ArrayInfo info, ReadBuffer buffer)
protected void
readElements(ReadContext context, ArrayInfo info, java.lang.Object array)
TypeHandler4
unversionedTemplate()
protected void
writeDimensions(WriteContext context, ArrayInfo info)
protected void
writeElements(WriteContext context, java.lang.Object obj, ArrayInfo info)
-
Methods inherited from class com.db4o.internal.handlers.array.ArrayHandler
allElements, analyze, arrayReflector, cascadeActivation, classIDFromInfo, classIdToMarshalledClassId, classReflector, collectIDs, createVersionHelper, deepClone, defragment, defragmentSlot, delegateTypeHandler, delete, deletePrimitiveEmbedded, descendsIntoMembers, equals, forEachElement, handleAsByteArray, handleAsByteArray, hashCode, hasNullBitmap, isPreVersion0Format, isPrimitive, iterator, linkLength, newInstance, newInstanceReflectClass, nullItemsMap, prepareComparison, primitiveClassReflector, read, readCandidateHandler, readCreate, readInfo, readInto, readNullBitmap, toString, useJavaHandling, withContent, write, writeInfo
-
-
-
-
Constructor Detail
-
MultidimensionalArrayHandler
public MultidimensionalArrayHandler(TypeHandler4 a_handler, boolean a_isPrimitive)
-
MultidimensionalArrayHandler
public MultidimensionalArrayHandler()
-
-
Method Detail
-
allElements
public final Iterator4 allElements(ObjectContainerBase container, java.lang.Object array)
- Overrides:
allElements
in classArrayHandler
-
allElementsMultidimensional
public static Iterator4 allElementsMultidimensional(ReflectArray reflectArray, java.lang.Object array)
-
elementCount
protected static final int elementCount(int[] a_dim)
-
identifier
public final byte identifier()
- Overrides:
identifier
in classArrayHandler
-
newArrayInfo
protected ArrayInfo newArrayInfo()
- Overrides:
newArrayInfo
in classArrayHandler
-
readDimensions
protected void readDimensions(ArrayInfo info, ReadBuffer buffer)
- Overrides:
readDimensions
in classArrayHandler
-
readElements
protected void readElements(ReadContext context, ArrayInfo info, java.lang.Object array)
- Overrides:
readElements
in classArrayHandler
-
writeDimensions
protected void writeDimensions(WriteContext context, ArrayInfo info)
- Overrides:
writeDimensions
in classArrayHandler
-
writeElements
protected void writeElements(WriteContext context, java.lang.Object obj, ArrayInfo info)
- Overrides:
writeElements
in classArrayHandler
-
analyzeDimensions
protected void analyzeDimensions(ObjectContainerBase container, java.lang.Object obj, ArrayInfo info)
- Overrides:
analyzeDimensions
in classArrayHandler
-
unversionedTemplate
public TypeHandler4 unversionedTemplate()
- Specified by:
unversionedTemplate
in interfaceVersionedTypeHandler
- Overrides:
unversionedTemplate
in classArrayHandler
-
-