public class ArrayDBIDsAdapter extends Object implements ArrayAdapter<DBID,ArrayDBIDs>
Modifier | Constructor and Description |
---|---|
protected |
ArrayDBIDsAdapter()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DBID |
get(ArrayDBIDs array,
int off)
Get the off'th item from the array.
|
int |
size(ArrayDBIDs array)
Get the size of the array.
|
protected ArrayDBIDsAdapter()
ArrayLikeUtil
!public int size(ArrayDBIDs array)
ArrayAdapter
size
in interface ArrayAdapter<DBID,ArrayDBIDs>
array
- Array-like thingpublic DBID get(ArrayDBIDs array, int off) throws IndexOutOfBoundsException
ArrayAdapter
get
in interface ArrayAdapter<DBID,ArrayDBIDs>
array
- Array to get fromoff
- OffsetIndexOutOfBoundsException
- for an invalid index.