Class PrimitiveSparseArray.PrimitiveNode

java.lang.Object
com.tangosol.util.AbstractSparseArray.Node<Long>
com.tangosol.util.PrimitiveSparseArray.PrimitiveNode
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
PrimitiveSparseArray

protected static class PrimitiveSparseArray.PrimitiveNode extends AbstractSparseArray.Node<Long>
Node mapping long key to Object value.
See Also:
  • Field Details

    • m_lValue

      protected long m_lValue
      The Node's value.
  • Constructor Details

    • PrimitiveNode

      public PrimitiveNode(long lKey, long lValue)
      Construct a new Node mapping a long key to a long value.
      Parameters:
      lKey - the key
      lValue - the long value
  • Method Details

    • getKey

      public long getKey()
      Return the key
      Returns:
      the key
    • setValue

      public Long setValue(Long value)
      Set the value associated with the node.
      Specified by:
      setValue in class AbstractSparseArray.Node<Long>
      Parameters:
      value - the value associated with the node
      Returns:
      the old value associated with the node
    • getValue

      public Long getValue()
      Get the value associated with the node.
      Specified by:
      getValue in class AbstractSparseArray.Node<Long>
      Returns:
      the value associated with the node.
    • setPrimitiveValue

      public long setPrimitiveValue(long lValue)
      Set the long value for the Node.
      Parameters:
      lValue - the long value
      Returns:
      the prior long value for the node
    • getPrimitiveValue

      public long getPrimitiveValue()
      Get the long value for the Node.
      Returns:
      the long value for the node