|
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.MultiBinaryLongMap.SafeEntry
protected static class MultiBinaryLongMap.SafeEntry
SafeEntry is an immutable BinaryLongMap.Entry implementation that exposes the logical contents of an underlying Entry in a way that is safe from mutations or being held as a reference.
| Field Summary | |
|---|---|
protected BinaryLongMap.Entry |
f_entryThe underlying entry (used for binary key retrieval). |
protected long |
f_lValueThe associated value |
| Constructor Summary | |
|---|---|
MultiBinaryLongMap.SafeEntry(BinaryLongMap.Entry entry)Construct a SafeEntry backed by the specified underlying entry. |
|
| Method Summary | |
|---|---|
Binary |
getKey()Obtain the key. |
long |
getValue()Obtain the value associated with this entry. |
BinaryLongMap.Entry |
setValue(long lValue)Set the value associated with this entry. |
| Field Detail |
|---|
protected final BinaryLongMap.Entry f_entry
protected final long f_lValue
| Constructor Detail |
|---|
public MultiBinaryLongMap.SafeEntry(BinaryLongMap.Entry entry)
entry - the underlying entry.| Method Detail |
|---|
public Binary getKey()
getKey in interface BinaryLongMap.EntryBinarypublic long getValue()
getValue in interface BinaryLongMap.Entrypublic BinaryLongMap.Entry setValue(long lValue)
Note: in some implementations, this operation may cause this Entry to be replaced with another Entry instance in the underlying representation.
setValue in interface BinaryLongMap.EntrylValue - the value to associate with this entryBinaryLongMap.Entry with the new value, which may or may not be the same BinaryLongMap.Entry as this
|
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 | |||||||