public interface VectorStorage extends Externalizable, StorageOpsMetrics, Destroyable
Vector.| Modifier and Type | Method and Description |
|---|---|
default double[] |
data()
Gets underlying array if
StorageOpsMetrics.isArrayBased() returns true. |
double |
get(int i) |
void |
set(int i,
double v) |
int |
size() |
readExternal, writeExternalisArrayBased, isDense, isDistributed, isRandomAccess, isSequentialAccessdestroyint size()
double get(int i)
i - Vector element index.void set(int i,
double v)
i - Vector element index.v - Value to set at given index.default double[] data()
StorageOpsMetrics.isArrayBased() returns true.
Returns null if in other cases.StorageOpsMetrics.isArrayBased()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019