public class SimplePofPath extends AbstractPofPath
PofNavigator
implementation which uses an array of integer
indices to navigate the PofValue hierarchy.Base.LoggingWriter, Base.StackFrame
Constructor and Description |
---|
SimplePofPath()
Default constructor (necessary for the PortableObject interface).
|
SimplePofPath(int nIndex)
Construct a SimplePofPath using a single index as a path.
|
SimplePofPath(int[] anIndices)
Construct a SimplePofPath using an array of indices as a path.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compare the SimplePofPath with another object to determine equality.
|
protected int[] |
getPathElements()
Return a collection of path elements.
|
int |
hashCode()
Determine a hash value for the SimplePofPath object according to the
general
Object.hashCode() contract. |
void |
readExternal(PofReader in)
Restore the contents of a user type instance by reading its state using
the specified PofReader object.
|
String |
toString()
Return a human-readable description for this SimplePofPath.
|
void |
writeExternal(PofWriter out)
Save the contents of a POF user type instance by writing its state using
the specified PofWriter object.
|
navigate
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
public SimplePofPath()
public SimplePofPath(int nIndex)
nIndex
- an indexpublic SimplePofPath(int[] anIndices)
anIndices
- an array of indicesprotected int[] getPathElements()
getPathElements
in class AbstractPofPath
public boolean equals(Object o)
public int hashCode()
Object.hashCode()
contract.public String toString()
public void readExternal(PofReader in) throws IOException
in
- the PofReader from which to read the object's stateIOException
- if an I/O error occurspublic void writeExternal(PofWriter out) throws IOException
out
- the PofWriter to which to write the object's stateIOException
- if an I/O error occurs