
T - Entry typeA - Array typepublic class SubsetArrayAdapter<T,A> extends Object implements ArrayAdapter<T,A>
| Modifier and Type | Field and Description | 
|---|---|
| (package private) int[] | offsOffsets to return. | 
| (package private) ArrayAdapter<T,? super A> | wrappedWrapped adapter. | 
| Constructor and Description | 
|---|
| SubsetArrayAdapter(ArrayAdapter<T,? super A> wrapped,
                  int[] offs)Constructor. | 
ArrayAdapter<T,? super A> wrapped
int[] offs
public SubsetArrayAdapter(ArrayAdapter<T,? super A> wrapped, int[] offs)
wrapped - Wrapped adapteroffs - Offsetspublic 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.