net.sf.jso.cache
Class CacheQueue

java.lang.Object
  extended bynet.sf.jso.cache.CacheQueue

public class CacheQueue
extends java.lang.Object


Constructor Summary
CacheQueue()
           
 
Method Summary
 void addAbove(QueueEntry newEntry, QueueEntry entry)
           
 void addBelow(QueueEntry newEntry, QueueEntry entry)
           
 void addBottom(QueueEntry entry)
           
 void addTop(QueueEntry entry)
           
 void clear()
           
 QueueEntry getBottom()
           
 QueueEntry getTop()
           
 void moveDown(QueueEntry entry)
           
 void moveUp(QueueEntry entry)
           
 QueueEntry remove(QueueEntry entry)
           
 QueueEntry removeBottom()
           
 QueueEntry removeTop()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheQueue

public CacheQueue()
Method Detail

size

public int size()

clear

public void clear()

getTop

public QueueEntry getTop()

addTop

public void addTop(QueueEntry entry)

addAbove

public void addAbove(QueueEntry newEntry,
                     QueueEntry entry)

addBelow

public void addBelow(QueueEntry newEntry,
                     QueueEntry entry)

getBottom

public QueueEntry getBottom()

addBottom

public void addBottom(QueueEntry entry)

remove

public QueueEntry remove(QueueEntry entry)

removeTop

public QueueEntry removeTop()

removeBottom

public QueueEntry removeBottom()

moveUp

public void moveUp(QueueEntry entry)

moveDown

public void moveDown(QueueEntry entry)