|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.collection.AbstractSparseArray
org.openmdx.base.collection.TreeSparseArray
public class TreeSparseArray
| Constructor Summary | |
|---|---|
TreeSparseArray()
Constructs an empty sparse array. |
|
TreeSparseArray(Collection collection)
Constructs an empty list with the specified initial capacity. |
|
TreeSparseArray(SparseArray collection)
Constructs a new sparse array containing the same entries as the given sparse array. |
|
| Method Summary | |
|---|---|
Object |
clone()
Returns a shallow copy of this TreeSparseArray instance. |
SortedMap |
populationMap()
Returns a map view of this sparse array's populated elements. |
| Methods inherited from class org.openmdx.base.collection.AbstractSparseArray |
|---|
add, addAll, asList, clear, contains, containsAll, end, get, indexOf, isEmpty, iterator, lowerBound, populationIterator, populationIterator, remove, remove, removeAll, retainAll, set, setAll, size, start, subArray, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public TreeSparseArray()
public TreeSparseArray(SparseArray collection)
collection - sparse array whose entries are to be placed into this sparse
arraypublic TreeSparseArray(Collection collection)
collection - a collection whose entries are to be placed into this sparse
array| Method Detail |
|---|
public SortedMap populationMap()
populationMap in interface SparseArraypopulationMap in class AbstractSparseArraypublic Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||