Annotation of java/classes/org/w3c/util/LRUNode.java, revision 1.1
1.1 ! anto 1: package w3c.util ;
! 2:
! 3: public class LRUNode implements LRUAble {
! 4: protected LRUAble prev ;
! 5: protected LRUAble next ;
! 6:
! 7: public LRUNode()
! 8: {
! 9: this.prev = null ;
! 10: this.next = null ;
! 11: }
! 12:
! 13: public LRUNode(LRUAble prev,LRUAble next)
! 14: {
! 15: this.prev = prev ;
! 16: this.next = next ;
! 17: }
! 18:
! 19: public LRUAble getNext()
! 20: {
! 21: return next ;
! 22: }
! 23:
! 24: public LRUAble getPrev()
! 25: {
! 26:
! 27: return next ;
! 28: }
! 29:
! 30: public void setPrev(LRUAble prev) {
! 31: this.prev = prev ;
! 32: }
! 33:
! 34: public void setNext(LRUAble next)
! 35: {
! 36: this.next = next ;
! 37: }
! 38: }
Webmaster