public class NodeArrayAdapter extends java.lang.Object implements ArrayAdapter<SpatialEntry,AbstractNode<? extends SpatialEntry>>
| Modifier and Type | Field and Description |
|---|---|
static NodeArrayAdapter |
STATIC
Static adapter.
|
| Modifier | Constructor and Description |
|---|---|
protected |
NodeArrayAdapter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SpatialEntry |
get(AbstractNode<? extends SpatialEntry> array,
int off)
Get the off'th item from the array.
|
int |
size(AbstractNode<? extends SpatialEntry> array)
Get the size of the array.
|
public static NodeArrayAdapter STATIC
public int size(AbstractNode<? extends SpatialEntry> array)
ArrayAdaptersize in interface ArrayAdapter<SpatialEntry,AbstractNode<? extends SpatialEntry>>array - Array-like thingpublic SpatialEntry get(AbstractNode<? extends SpatialEntry> array, int off) throws java.lang.IndexOutOfBoundsException
ArrayAdapterget in interface ArrayAdapter<SpatialEntry,AbstractNode<? extends SpatialEntry>>array - Array to get fromoff - Offsetjava.lang.IndexOutOfBoundsException - for an invalid index.Copyright © 2019 ELKI Development Team. License information.