|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.pof.reflect.AbstractPofPath
com.tangosol.io.pof.reflect.SimplePofPath
public class SimplePofPath
A static PofNavigator
implementation which uses an array of integer indices to navigate the PofValue hierarchy.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.tangosol.io.pof.reflect.AbstractPofPath |
---|
navigate |
Constructor Detail |
---|
public SimplePofPath()
public SimplePofPath(int nIndex)
nIndex
- an indexpublic SimplePofPath(int[] anIndices)
anIndices
- an array of indicesMethod Detail |
---|
protected 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
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |