Package com.db4o.internal
Class TreeIntObject<T>
- java.lang.Object
-
- com.db4o.foundation.Tree<java.lang.Integer>
-
- com.db4o.internal.TreeInt
-
- com.db4o.internal.TreeIntObject<T>
-
- All Implemented Interfaces:
DeepClone,ShallowClone,Visitable<java.lang.Integer>,Readable,ReadWriteable
public class TreeIntObject<T> extends TreeInt
-
-
Field Summary
Fields Modifier and Type Field Description T_object-
Fields inherited from class com.db4o.foundation.Tree
_preceding, _size, _subsequent
-
-
Constructor Summary
Constructors Constructor Description TreeIntObject(int a_key)TreeIntObject(int a_key, T a_object)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> TreeIntObject<T>add(TreeIntObject<T> tree, int key, T value)java.lang.ObjectgetObject()intownLength()java.lang.Objectread(ByteArrayBuffer a_bytes)voidsetObject(T obj)java.lang.ObjectshallowClone()protected TreeshallowCloneInternal(Tree tree)voidwrite(ByteArrayBuffer a_writer)-
Methods inherited from class com.db4o.internal.TreeInt
add, addAll, compare, duplicates, equals, find, find, key, marshalledLength, marshalledLength, marshalledLength, removeLike, 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, onAttemptToAddDuplicate, ownSize, remove, removeChildren, removeFirst, removeLike, removeLike, removeNode, root, rotateLeft, rotateRight, setSizeOwn, setSizeOwnPlus, setSizeOwnPlus, setSizeOwnPreceding, setSizeOwnPrecedingSubsequent, setSizeOwnSubsequent, size, size, traverse, traverse, traverse, traverseFromLeaves, wasAddedToTree
-
-
-
-
Field Detail
-
_object
public T _object
-
-
Constructor Detail
-
TreeIntObject
public TreeIntObject(int a_key)
-
TreeIntObject
public TreeIntObject(int a_key, T a_object)
-
-
Method Detail
-
shallowClone
public java.lang.Object shallowClone()
- Specified by:
shallowClonein interfaceShallowClone- Overrides:
shallowClonein classTreeInt
-
shallowCloneInternal
protected Tree shallowCloneInternal(Tree tree)
- Overrides:
shallowCloneInternalin classTreeInt
-
getObject
public java.lang.Object getObject()
-
setObject
public void setObject(T obj)
-
read
public java.lang.Object read(ByteArrayBuffer a_bytes)
-
write
public void write(ByteArrayBuffer a_writer)
- Specified by:
writein interfaceReadWriteable- Overrides:
writein classTreeInt
-
add
public static <T> TreeIntObject<T> add(TreeIntObject<T> tree, int key, T value)
-
-