F
- Feature typepublic final class FeatureVectorAdapter<F> extends java.lang.Object implements ArrayAdapter<F,FeatureVector<F>>
ArrayLikeUtil
!Modifier and Type | Field and Description |
---|---|
static FeatureVectorAdapter<?> |
STATIC
Static instance.
|
Modifier | Constructor and Description |
---|---|
private |
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.
|
public static final FeatureVectorAdapter<?> STATIC
private 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 java.lang.IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<F,FeatureVector<F>>
array
- Array to get fromoff
- Offsetjava.lang.IndexOutOfBoundsException
- for an invalid index.Copyright © 2019 ELKI Development Team. License information.