File:  [Public] / java / classes / org / w3c / util / LRUNode.java
Revision 1.5: download - view: text, annotated - select for diffs
Fri Oct 18 13:42:30 2013 UTC (11 years, 10 months ago) by ylafon
Branches: MAIN
CVS tags: HEAD
generics + raw types + serializer

// LRUNode.java
// $Id: LRUNode.java,v 1.5 2013/10/18 13:42:30 ylafon Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.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;
    }
}

Webmaster