
T - Entry typeA - Array typepublic class SingleSubsetArrayAdapter<T,A> extends Object implements ArrayAdapter<T,A>
| Modifier and Type | Field and Description | 
|---|---|
| (package private) int | offOffset to return | 
| (package private) ArrayAdapter<T,? super A> | wrappedWrapped adapter | 
| Constructor and Description | 
|---|
| SingleSubsetArrayAdapter(ArrayAdapter<T,? super A> wrapped,
                        int off)Constructor. | 
ArrayAdapter<T,? super A> wrapped
int off
public SingleSubsetArrayAdapter(ArrayAdapter<T,? super A> wrapped, int off)
wrapped - Wrapped adapteroff - Offsetpublic int size(A array)
ArrayAdaptersize in interface ArrayAdapter<T,A>array - Array-like thingpublic T get(A array, int off) throws IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<T,A>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.