Package com.db4o.internal.ids
Class IdSlotTree
- java.lang.Object
-
- com.db4o.foundation.Tree<java.lang.Integer>
-
- com.db4o.internal.TreeInt
-
- com.db4o.internal.ids.IdSlotTree
-
- All Implemented Interfaces:
DeepClone
,ShallowClone
,Visitable<java.lang.Integer>
,Readable
,ReadWriteable
public class IdSlotTree extends TreeInt
-
-
Field Summary
-
Fields inherited from class com.db4o.foundation.Tree
_preceding, _size, _subsequent
-
-
Constructor Summary
Constructors Constructor Description IdSlotTree(int id, Slot slot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tree
onAttemptToAddDuplicate(Tree oldNode)
int
ownLength()
java.lang.Object
read(ByteArrayBuffer buffer)
Slot
slot()
void
write(ByteArrayBuffer buffer)
-
Methods inherited from class com.db4o.internal.TreeInt
add, addAll, compare, duplicates, equals, find, find, key, marshalledLength, marshalledLength, marshalledLength, removeLike, shallowClone, shallowCloneInternal, toString, write, write
-
Methods inherited from class com.db4o.foundation.Tree
accept, add, add, add, addedOrExisting, balance, balanceCheckNulls, calculateSize, deepClone, deepClone, depth, filter, find, find, findGreaterOrEqual, findSmaller, first, last, last, nodes, ownSize, remove, removeChildren, removeFirst, removeLike, removeLike, removeNode, root, rotateLeft, rotateRight, setSizeOwn, setSizeOwnPlus, setSizeOwnPlus, setSizeOwnPreceding, setSizeOwnPrecedingSubsequent, setSizeOwnSubsequent, size, size, traverse, traverse, traverse, traverseFromLeaves, wasAddedToTree
-
-
-
-
Constructor Detail
-
IdSlotTree
public IdSlotTree(int id, Slot slot)
-
-
Method Detail
-
slot
public Slot slot()
-
onAttemptToAddDuplicate
public Tree onAttemptToAddDuplicate(Tree oldNode)
- Overrides:
onAttemptToAddDuplicate
in classTree<java.lang.Integer>
-
read
public java.lang.Object read(ByteArrayBuffer buffer)
-
write
public void write(ByteArrayBuffer buffer)
- Specified by:
write
in interfaceReadWriteable
- Overrides:
write
in classTreeInt
-
-