|
Terrier IR Platform 1.1.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.structures.trees.BlockTree
public class BlockTree
The binary tree used when creating the direct file with block information. It's essentially a binary tree for integers. Currently unused.
| Constructor Summary | |
|---|---|
BlockTree()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
empty()
Deprecated. Empties the tree. |
int |
getNumberOfNodes()
Deprecated. Returns the number of nodes in the tree. |
int |
getNumberOfPointers()
Deprecated. Returns the number of pointers in the tree. |
boolean |
insert(int blockId)
Deprecated. Inserts a new blockid in the block binary tree. |
BlockTreeNode[] |
toArray()
Deprecated. Returns an array of the block id nodes of the tree. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockTree()
| Method Detail |
|---|
public void empty()
public int getNumberOfNodes()
public int getNumberOfPointers()
public boolean insert(int blockId)
blockId - The blockid to be inserted.public BlockTreeNode[] toArray()
|
Terrier IR Platform 1.1.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||