private static class AttributeWiseCDFNormalization.Adapter extends Object implements NumberArrayAdapter<Double,List<? extends NumberVector>>
Modifier and Type | Field and Description |
---|---|
(package private) int |
dim
Dimension to process.
|
Modifier | Constructor and Description |
---|---|
private |
AttributeWiseCDFNormalization.Adapter() |
Modifier and Type | Method and Description |
---|---|
Double |
get(List<? extends NumberVector> array,
int off)
Get the off'th item from the array.
|
byte |
getByte(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as byte.
|
double |
getDouble(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as double.
|
float |
getFloat(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as float.
|
int |
getInteger(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as integer.
|
long |
getLong(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as long.
|
short |
getShort(List<? extends NumberVector> array,
int off)
Get the off'th item from the array as short.
|
int |
size(List<? extends NumberVector> array)
Get the size of the array.
|
private AttributeWiseCDFNormalization.Adapter()
public int size(List<? extends NumberVector> array)
ArrayAdapter
size
in interface ArrayAdapter<Double,List<? extends NumberVector>>
size
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array-like thingpublic Double get(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<Double,List<? extends NumberVector>>
get
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public double getDouble(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getDouble
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public float getFloat(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getFloat
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public int getInteger(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getInteger
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public short getShort(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getShort
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public long getLong(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getLong
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.public byte getByte(List<? extends NumberVector> array, int off) throws IndexOutOfBoundsException
NumberArrayAdapter
getByte
in interface NumberArrayAdapter<Double,List<? extends NumberVector>>
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.