Package com.db4o.internal
Class PersistentIntegerArray
- java.lang.Object
-
- com.db4o.internal.Identifiable
-
- com.db4o.internal.PersistentBase
-
- com.db4o.internal.LocalPersistentBase
-
- com.db4o.internal.PersistentIntegerArray
-
- All Implemented Interfaces:
LinkLengthAware
,Persistent
public class PersistentIntegerArray extends LocalPersistentBase
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.Identifiable
_id, _state
-
-
Constructor Summary
Constructors Constructor Description PersistentIntegerArray(SlotChangeFactory slotChangeFactory, TransactionalIdSystem idSystem, int id)
PersistentIntegerArray(SlotChangeFactory slotChangeFactory, TransactionalIdSystem idSystem, int[] arr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
array()
byte
getIdentifier()
int
ownLength()
void
readThis(Transaction trans, ByteArrayBuffer reader)
SlotChangeFactory
slotChangeFactory()
void
writeThis(Transaction trans, ByteArrayBuffer writer)
-
Methods inherited from class com.db4o.internal.LocalPersistentBase
idSystem, readBufferById
-
Methods inherited from class com.db4o.internal.PersistentBase
free, linkLength, newWriteBuffer, produceReadBuffer, produceWriteBuffer, read, read, write, writeObjectBegin, writeOwnID
-
Methods inherited from class com.db4o.internal.Identifiable
beginProcessing, endProcessing, getID, hashCode, isActive, isDirty, isNew, setID, setStateClean, setStateDeactivated, setStateDirty
-
-
-
-
Constructor Detail
-
PersistentIntegerArray
public PersistentIntegerArray(SlotChangeFactory slotChangeFactory, TransactionalIdSystem idSystem, int[] arr)
-
PersistentIntegerArray
public PersistentIntegerArray(SlotChangeFactory slotChangeFactory, TransactionalIdSystem idSystem, int id)
-
-
Method Detail
-
getIdentifier
public byte getIdentifier()
-
ownLength
public int ownLength()
-
readThis
public void readThis(Transaction trans, ByteArrayBuffer reader)
-
writeThis
public void writeThis(Transaction trans, ByteArrayBuffer writer)
-
array
public int[] array()
-
slotChangeFactory
public SlotChangeFactory slotChangeFactory()
- Overrides:
slotChangeFactory
in classPersistentBase
-
-