public class RealSparseArray extends SparseArray<Double>
| Constructor and Description |
|---|
RealSparseArray() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
RealSparseArray |
addEntries(Double... entries) |
RealSparseArray |
addIndices(Integer... indices) |
Double |
getDefaultValue() |
List<Double> |
getEntries() |
List<Integer> |
getIndices() |
Integer |
getN() |
boolean |
hasEntries() |
boolean |
hasIndices() |
RealSparseArray |
setDefaultValue(Double defaultValue) |
RealSparseArray |
setN(Integer n) |
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic Integer getN()
getN in class SparseArray<Double>public RealSparseArray setN(Integer n)
setN in class SparseArray<Double>public Double getDefaultValue()
getDefaultValue in class SparseArray<Double>public RealSparseArray setDefaultValue(Double defaultValue)
setDefaultValue in class SparseArray<Double>public boolean hasIndices()
hasIndices in class SparseArray<Double>public List<Integer> getIndices()
getIndices in class SparseArray<Double>public RealSparseArray addIndices(Integer... indices)
addIndices in class SparseArray<Double>public boolean hasEntries()
hasEntries in class SparseArray<Double>public List<Double> getEntries()
getEntries in class SparseArray<Double>public RealSparseArray addEntries(Double... entries)
addEntries in class SparseArray<Double>public VisitorAction accept(Visitor visitor)
Copyright © 2019 University of Tartu. All rights reserved.