Class SparseArray.ObjectNode<V>

    • 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:
        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.