|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.SafeLinkedList.Node
protected static class SafeLinkedList.Node
A Node in the List. Nodes are doubly-linked and store a value.
| Field Summary | |
|---|---|
protected SafeLinkedList.Node |
m_nodeNext
The next Node in the List. |
protected SafeLinkedList.Node |
m_nodePrev
The previous Node in the List. |
protected Object |
m_object
The value stored in the Node. |
| Constructor Summary | |
|---|---|
SafeLinkedList.Node()
Construct a blank Node. |
|
SafeLinkedList.Node(Object o)
Construct a Node with a value. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
protected void |
delink()
Remove this Node from the List. |
protected Object |
discard()
Delink this Node and discard its value. |
boolean |
equals(Object that)
Compare this Node with an object for equality. |
boolean |
equalsValue(Object oThat)
Compare this Node's value with another value for equality. |
SafeLinkedList.Node |
getNext()
|
Object |
getObject()
|
SafeLinkedList.Node |
getPrevious()
|
protected void |
linkAfter(SafeLinkedList.Node prev)
Add this Node to the List following the specified Node. |
protected void |
linkBefore(SafeLinkedList.Node next)
Add this Node to the List preceding the specified Node. |
protected void |
setObject(Object o)
|
String |
toString()
Render the Node as a String. |
| Field Detail |
|---|
protected Object m_object
protected SafeLinkedList.Node m_nodeNext
protected SafeLinkedList.Node m_nodePrev
| Constructor Detail |
|---|
public SafeLinkedList.Node()
public SafeLinkedList.Node(Object o)
o - the value to store in the Node| Method Detail |
|---|
public Object getObject()
protected void setObject(Object o)
o - the new Object value for this Nodepublic SafeLinkedList.Node getNext()
public SafeLinkedList.Node getPrevious()
protected void linkBefore(SafeLinkedList.Node next)
next - the Node to add this Node beforeprotected void linkAfter(SafeLinkedList.Node prev)
prev - the Node to add this Node afterprotected void delink()
protected Object discard()
public boolean equals(Object that)
public boolean equalsValue(Object oThat)
public String toString()
public Object clone()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||