Skip navigation links
com.tangosol.util
Class SparseArray
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.AbstractLongArray
com.tangosol.util.AbstractSparseArray
com.tangosol.util.SparseArray
- All Implemented Interfaces:
- LongArray, java.io.Serializable, java.lang.Cloneable
-
public class SparseArray
- extends AbstractSparseArray
A data structure resembling an Object array indexed by long values.
- Author:
- mf 10.08.2007
Methods inherited from class com.tangosol.util.AbstractSparseArray |
adjustDoubleBalance, balancedInsertion, balancePostRemove, clear, clone, doubleRotate, exists, find, findInsertionPoint, get, getFirstIndex, getLastIndex, getSize, instantiateCrawler, iterator, iterator, print, remove, remove, replace, reverseIterator, reverseIterator, rotate, set, validate |
SparseArray
public SparseArray()
- Default constructor.
instantiateNode
protected AbstractSparseArray.Node instantiateNode(long lKey,
java.lang.Object oValue)
- Description copied from class:
AbstractSparseArray
- Factory pattern: create a new Node with the specified key and value.
-
- Specified by:
instantiateNode
in class AbstractSparseArray
-
- Parameters:
lKey
- the long key
oValue
- the object value
- Returns:
- the new node
Skip navigation links
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.