org.openmobileis.database.fastobjectdb.db.index.node
Class LongNode
java.lang.Object
org.openmobileis.database.fastobjectdb.db.index.node.Node
org.openmobileis.database.fastobjectdb.db.index.node.LongNode
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
- public class LongNode
- extends Node
LongNode.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongNode
public LongNode()
LongNode
public LongNode(int order)
getKeyAtPos
public long getKeyAtPos(int pos)
setKeyPtrAtPos
public void setKeyPtrAtPos(long key,
long ptr,
int pos)
searchNode
public SearchResult searchNode(long key,
SearchResult search)
pushInLeaf
public boolean pushInLeaf(long key,
int pos,
long newPtr)
promote
public boolean promote(long newkey,
long keyptr,
int pos,
long nodePtr)
removeKeyAtPpos
public void removeKeyAtPpos(int pos)
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Overrides:
writeExternal
in class Node
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Overrides:
readExternal
in class Node
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright 2005 e-Care. All Rights Reserved.