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