Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.util
Class PrimitiveSparseArray.PrimitiveNode

java.lang.Object
  extended by com.tangosol.util.PrimitiveSparseArray.PrimitiveNode

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
PrimitiveSparseArray

protected static class PrimitiveSparseArray.PrimitiveNode
extends java.lang.Object

Node mapping long key to Object value.


Field Summary
protected  long m_lValue
          The Node's value.

 

Constructor Summary
PrimitiveSparseArray.PrimitiveNode(long lKey, long lValue)
          Construct a new Node mapping a long key to a long value.

 

Method Summary
 long getKey()
          Return the key
 long getPrimitiveValue()
          Get the long value for the Node.
 java.lang.Object getValue()
          
 long setPrimitiveValue(long lValue)
          Set the long value for the Node.
 java.lang.Object setValue(java.lang.Object oValue)
          

 

Field Detail

m_lValue

protected long m_lValue
The Node's value.

Constructor Detail

PrimitiveSparseArray.PrimitiveNode

public PrimitiveSparseArray.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 Detail

getKey

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

setValue

public java.lang.Object setValue(java.lang.Object oValue)

getValue

public java.lang.Object getValue()

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

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.