01: /*
02: * NodeEntry.java
03: *
04: * Created on 25 May 2003, 09:36
05: */
06:
07: package com.jofti.btree;
08:
09: import java.io.Serializable;
10:
11: /**
12: * The interface for a NodeEntry.<p>
13: *
14: * @author Steve Woodcock
15: * @version 1.3<br>
16: */
17: public interface NodeEntry extends Comparable, Serializable {
18:
19: /**
20: * Returns the value stored in the NodeEntry.
21: * @return
22: */
23: public Comparable getValue();
24:
25: /**
26: * Sets the value in the NodeEntry.
27: * @param value
28: */
29: public void setValue(Comparable value);
30: }
|