Package net.imglib2.type
Class Index
- java.lang.Object
-
- net.imglib2.type.Index
-
public final class Index extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private inti
-
Constructor Summary
Constructors Constructor Description Index()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddec()Decrement the index.voiddec(int decrement)Decrease the index bydecrementsteps.intget()Get the index.voidinc()Increment the index.voidinc(int increment)Increase the index bydecrementsteps.voidset(int index)Set the index toindex.
-
-
-
Method Detail
-
get
public int get()
Get the index.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container, and byNativeTypes to determine the offset into the underlying primitive array, where the value of the type is stored.
-
set
public void set(int index)
Set the index toindex.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container.
-
inc
public void inc()
Increment the index.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container.
-
inc
public void inc(int increment)
Increase the index bydecrementsteps.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container.
-
dec
public void dec()
Decrement the index.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container.
-
dec
public void dec(int decrement)
Decrease the index bydecrementsteps.This is used by accessors (e.g., a
Cursor) to positionNativeTypes in the container.
-
-