Annotation of java/classes/org/w3c/util/LRUNode.java, revision 1.2
1.2 ! abaird 1: // LRUNode.java
! 2: // $Id$
! 3: // (c) COPYRIGHT MIT and INRIA, 1996.
! 4: // Please first read the full copyright statement in file COPYRIGHT.html
! 5:
1.1 anto 6: package w3c.util ;
7:
8: public class LRUNode implements LRUAble {
9: protected LRUAble prev ;
10: protected LRUAble next ;
11:
12: public LRUNode()
13: {
14: this.prev = null ;
15: this.next = null ;
16: }
17:
18: public LRUNode(LRUAble prev,LRUAble next)
19: {
20: this.prev = prev ;
21: this.next = next ;
22: }
23:
24: public LRUAble getNext()
25: {
26: return next ;
27: }
28:
29: public LRUAble getPrev()
30: {
31:
1.2 ! abaird 32: return prev;
1.1 anto 33: }
34:
35: public void setPrev(LRUAble prev) {
36: this.prev = prev ;
37: }
38:
39: public void setNext(LRUAble next)
40: {
41: this.next = next ;
42: }
43: }
Webmaster