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:
  • Field Details

    • m_oValue

      protected V m_oValue
      The Node's value.
  • Constructor Details

    • ObjectNode

      public ObjectNode(long lKey, V oValue)
  • Method Details

    • setValue

      public V setValue(V oValue)
      Set the value associated with the node.
      Specified by:
      setValue in class AbstractSparseArray.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:
      getValue in class AbstractSparseArray.Node<V>
      Returns:
      the value associated with the node.