Package | Description |
---|---|
org.apache.jcs.engine.memory.util | |
org.apache.jcs.utils.struct |
Modifier and Type | Class and Description |
---|---|
class |
MemoryElementDescriptor
This wrapper is needed for double linked lists.
|
Modifier and Type | Class and Description |
---|---|
class |
LRUElementDescriptor
This is a node in the double linked list.
|
Modifier and Type | Field and Description |
---|---|
DoubleLinkedListNode |
DoubleLinkedListNode.next
Double Linked list references
|
DoubleLinkedListNode |
DoubleLinkedListNode.prev
Double Linked list references
|
Modifier and Type | Method and Description |
---|---|
DoubleLinkedListNode |
DoubleLinkedList.getFirst()
Removes the specified node from the link list.
|
DoubleLinkedListNode |
DoubleLinkedList.getLast()
Returns the last node from the link list, if there are any nodes.
|
DoubleLinkedListNode |
DoubleLinkedList.removeLast()
Removes the specified node from the link list.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleLinkedList.addFirst(DoubleLinkedListNode me)
Adds a new node to the start of the link list.
|
void |
DoubleLinkedList.addLast(DoubleLinkedListNode me)
Adds a new node to the end of the link list.
|
void |
DoubleLinkedList.makeFirst(DoubleLinkedListNode ln)
Moves an existing node to the start of the link list.
|
void |
DoubleLinkedList.makeLast(DoubleLinkedListNode ln)
Moves an existing node to the end of the link list.
|
boolean |
DoubleLinkedList.remove(DoubleLinkedListNode me)
Removes the specified node from the link list.
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.