|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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.util.BitHelper
com.tangosol.util.ExternalizableHelper
com.tangosol.util.extractor.AbstractUpdater
com.tangosol.util.extractor.PofUpdater
public class PofUpdater
POF-based ValueUpdater implementation.
| Constructor Summary | |
|---|---|
PofUpdater()Default constructor (necessary for the PortableObject interface). |
|
PofUpdater(int iProp)Constructs a PofUpdater based on a property index. |
|
PofUpdater(PofNavigator navigator)Constructs a PofUpdater based on a POF navigator. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)Compare the PofUpdater with another object to determine equality. |
int |
hashCode()Determine a hash value for the PofUpdater 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. |
java.lang.String |
toString()Return a human-readable description for this PofUpdater. |
void |
update(java.lang.Object oTarget, java.lang.Object oValue)Update the state of the passed target object using the passed value. |
void |
updateEntry(java.util.Map.Entry entry, java.lang.Object oValue)Update the passed entry using the specified value. |
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.util.BitHelper |
|---|
countBits, countBits, countBits, indexOfLSB, indexOfLSB, indexOfLSB, indexOfMSB, indexOfMSB, indexOfMSB, rotateLeft, rotateLeft, rotateLeft, rotateRight, rotateRight, rotateRight, toBitString, toBitString, toBitString, toBytes, toBytes, toBytes, toBytes, toInt, toInt, toLong, toLong |
| Constructor Detail |
|---|
public PofUpdater()
public PofUpdater(int iProp)
This constructor is equivalent to:
PofUpdater updater =
new PofUpdater(new SimplePofPath(iProp));
iProp - property indexpublic PofUpdater(PofNavigator navigator)
navigator - POF navigator| Method Detail |
|---|
public void update(java.lang.Object oTarget,
java.lang.Object oValue)
update in interface ValueUpdaterupdate in class AbstractUpdateroTarget - the Object to update the state ofoValue - the new value to update the state with
public void updateEntry(java.util.Map.Entry entry,
java.lang.Object oValue)
It is expected that this updater will only be used against POF-encoded entries implementing BinaryEntry interface.
updateEntry in class AbstractUpdaterentry - the entry to updateoValue - the new value to update the target's property withjava.lang.UnsupportedOperationException - if the specified target object is not a POF-encoded BinaryEntry or the serializer is not a PofContextPofNavigationException - if the property cannot be located (navigated to)public boolean equals(java.lang.Object o)
public int hashCode()
Object.hashCode() contract.public java.lang.String toString()
public void readExternal(PofReader in)
throws java.io.IOException
readExternal in interface PortableObjectin - the PofReader from which to read the object's statejava.io.IOException - if an I/O error occurs
public void writeExternal(PofWriter out)
throws java.io.IOException
writeExternal in interface PortableObjectout - the PofWriter to which to write the object's statejava.io.IOException - if an I/O error occurs
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||