    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.w3c.util.AsyncLRUList

    java.lang.Object
       |
       +----org.w3c.util.LRUList
               |
               +----org.w3c.util.AsyncLRUList

public class AsyncLRUList
extends LRUList

##

AsyncLRUList()

##

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

##

AsyncLRUList

     public AsyncLRUList()

##

toHead

     public final synchronized void toHead(LRUAble node)

  Moves node to front of list.

  Overrides:
    toHead in class LRUList

toTail

     public final synchronized void toTail(LRUAble node)

  Moves node to back of list.

  Overrides:
    toTail in class LRUList

remove

     public final synchronized LRUAble remove(LRUAble node)

  Removes node if it's in list.

  Overrides:
    remove in class LRUList

getTail

     public final synchronized LRUAble getTail()

  Obtain the backmost node.

  Overrides:
    getTail in class LRUList

getHead

     public final synchronized LRUAble getHead()

  Obtain the frontmost node.

  Overrides:
    getHead in class LRUList

removeTail

     public final synchronized LRUAble removeTail()

  Obtain the backmost node, and remove it from list too.

  Overrides:
    removeTail in class LRUList

getNext

     public final synchronized LRUAble getNext(LRUAble node)

  Get the next node of this list.

  Overrides:
    getNext in class LRUList

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