public final class Index extends Object
| Constructor and Description |
|---|
Index() |
| Modifier and Type | Method and Description |
|---|---|
void |
dec()
Decrement the index.
|
void |
dec(int decrement)
Decrease the index by
decrement steps. |
int |
get()
Get the index.
|
void |
inc()
Increment the index.
|
void |
inc(int increment)
Increase the index by
decrement steps. |
void |
set(int index)
Set the index to
index. |
public int get()
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container, and by NativeTypes to determine
the offset into the underlying primitive array, where the value of the
type is stored.
public void set(int index)
index.
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.
public void inc()
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.
public void inc(int increment)
decrement steps.
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.
public void dec()
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.
public void dec(int decrement)
decrement steps.
This is used by accessors (e.g., a Cursor) to position NativeTypes in the container.
Copyright © 2015–2022 ImgLib2. All rights reserved.