F
- Feature typepublic class FeatureVectorAdapter<F> extends Object implements ArrayAdapter<F,FeatureVector<F>>
ArrayLikeUtil
!Modifier | Constructor and Description |
---|---|
protected |
FeatureVectorAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
F |
get(FeatureVector<F> array,
int off)
Get the off'th item from the array.
|
int |
size(FeatureVector<F> array)
Get the size of the array.
|
protected FeatureVectorAdapter()
ArrayLikeUtil
!public int size(FeatureVector<F> array)
ArrayAdapter
size
in interface ArrayAdapter<F,FeatureVector<F>>
array
- Array-like thingpublic F get(FeatureVector<F> array, int off) throws IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<F,FeatureVector<F>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.