// LRUNode.java
// $Id: LRUNode.java,v 1.2 1996/07/25 13:15:39 abaird Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package w3c.util ;

public class LRUNode implements LRUAble {
    protected LRUAble prev ;
    protected LRUAble next ;

    public LRUNode()
    {
	this.prev = null ;
	this.next = null ;
    }
	
    public LRUNode(LRUAble prev,LRUAble next)
    {
	this.prev = prev ;
	this.next = next ;
    }

    public LRUAble getNext()
    {
	return next ;
    }
	
    public LRUAble getPrev() 
    {

	return prev;
    }

    public void setPrev(LRUAble prev) {
	this.prev = prev ;
    }

    public void setNext(LRUAble next)
    {
	this.next = next ;
    }
}
