Package com.tangosol.util
Class SparseArray.ObjectNode<V>
- java.lang.Object
 - 
- com.tangosol.util.AbstractSparseArray.Node<V>
 - 
- com.tangosol.util.SparseArray.ObjectNode<V>
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Cloneable
- Enclosing class:
 - SparseArray<V>
 
protected static class SparseArray.ObjectNode<V> extends AbstractSparseArray.Node<V>
Node mapping long key to Object value.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ObjectNode(long lKey, V oValue) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VgetValue()Get the value associated with the node.VsetValue(V oValue)Set the value associated with the node. 
 - 
 
- 
- 
Field Detail
- 
m_oValue
protected V m_oValue
The Node's value. 
 - 
 
- 
Constructor Detail
- 
ObjectNode
public ObjectNode(long lKey, V oValue) 
 - 
 
- 
Method Detail
- 
setValue
public V setValue(V oValue)
Set the value associated with the node.- Specified by:
 setValuein classAbstractSparseArray.Node<V>- Parameters:
 oValue- the value associated with the node- Returns:
 - the old value associated with the node
 
 
- 
getValue
public V getValue()
Get the value associated with the node.- Specified by:
 getValuein classAbstractSparseArray.Node<V>- Returns:
 - the value associated with the node.
 
 
 - 
 
 -