T
- Item typepublic class IdentityArrayAdapter<T> extends Object implements ArrayAdapter<T,T>
ArrayLikeUtil
!Modifier | Constructor and Description |
---|---|
protected |
IdentityArrayAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
get(T array,
int off)
Get the off'th item from the array.
|
int |
size(T array)
Get the size of the array.
|
protected IdentityArrayAdapter()
ArrayLikeUtil
!public int size(T array)
ArrayAdapter
size
in interface ArrayAdapter<T,T>
array
- Array-like thingpublic T get(T array, int off) throws IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<T,T>
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.