All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class w3c.util.SyncLRUList

java.lang.Object
   |
   +----w3c.util.LRUList
           |
           +----w3c.util.SyncLRUList

public class SyncLRUList
extends LRUList

Constructor Index

 o SyncLRUList()

Method Index

 o getHead()
Obtain the frontmost node.
 o getNext(LRUAble)
Get the next node of this list.
 o getPrev(LRUAble)
Get the previous node of this list.
 o getTail()
Obtain the backmost node.
 o remove(LRUAble)
Removes node if it's in list.
 o removeTail()
Obtain the backmost node, and remove it from list too.
 o toHead(LRUAble)
Moves node to front of list.
 o toTail(LRUAble)
Moves node to back of list.

Constructors

 o SyncLRUList
 public SyncLRUList()

Methods

 o toHead
 public synchronized void toHead(LRUAble node)
Moves node to front of list.

Overrides:
toHead in class LRUList
 o toTail
 public synchronized void toTail(LRUAble node)
Moves node to back of list.

Overrides:
toTail in class LRUList
 o remove
 public final synchronized LRUAble remove(LRUAble node)
Removes node if it's in list.

Overrides:
remove in class LRUList
 o getTail
 public final synchronized LRUAble getTail()
Obtain the backmost node.

Overrides:
getTail in class LRUList
 o getHead
 public final synchronized LRUAble getHead()
Obtain the frontmost node.

Overrides:
getHead in class LRUList
 o removeTail
 public final LRUAble removeTail()
Obtain the backmost node, and remove it from list too.

Overrides:
removeTail in class LRUList
 o getNext
 public final synchronized LRUAble getNext(LRUAble node)
Get the next node of this list.

Overrides:
getNext in class LRUList
 o getPrev
 public final synchronized LRUAble getPrev(LRUAble node)
Get the previous node of this list.

Overrides:
getPrev in class LRUList

All Packages  Class Hierarchy  This Package  Previous  Next  Index