protected static class SafeLinkedList.Node extends Base implements Cloneable, Serializable
Base.LoggingWriter, Base.StackFrame
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Node()
Construct a blank Node.
|
Node(Object o)
Construct a Node with a value.
|
Modifier and Type | Method and Description |
---|---|
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.
|
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
protected Object m_object
protected SafeLinkedList.Node m_nodeNext
protected SafeLinkedList.Node m_nodePrev
public Node()
public Node(Object o)
o
- the value to store in the Nodepublic 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()