KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > core > IStoreKey


1 package com.jofti.core;
2
3 import com.jofti.store.FilePositionHolder;
4
5 /**
6  * <p>Interface defining key used by PagdLeafNodes to store and retrieve Page data.</p>
7  * <p>
8  * Each Key contains an array of file positions and an id which is unique for the key.
9  * </p>
10  * @author xenephon
11  *
12  */

13 public interface IStoreKey {
14
15     public long getId();
16         
17     public FilePositionHolder[] getFilePositions();
18     
19     public boolean isNewKey();
20     
21     public void setNewKey(boolean newKey);
22     
23     public void setFilePositions(FilePositionHolder[] positions);
24     
25     public Object JavaDoc clone();
26     
27     public void setNumber(int number);
28     
29     public int getNumber();
30 }
31
Popular Tags