
T - Data object type.public class ListArrayAdapter<T> extends Object implements ArrayAdapter<T,List<? extends T>>
List in an array API.
Use the static instance from ArrayLikeUtil!| Modifier | Constructor and Description |
|---|---|
protected |
ListArrayAdapter()
Constructor.
|
protected ListArrayAdapter()
ArrayLikeUtil!public int size(List<? extends T> array)
ArrayAdaptersize in interface ArrayAdapter<T,List<? extends T>>array - Array-like thingpublic T get(List<? extends T> array, int off) throws IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<T,List<? extends T>>array - Array to get fromoff - OffsetIndexOutOfBoundsException - for an invalid index.