public abstract class AbstractNativeType<T extends AbstractNativeType<T>> extends Object implements NativeType<T>
Modifier and Type | Field and Description |
---|---|
protected int |
i |
Constructor and Description |
---|
AbstractNativeType() |
Modifier and Type | Method and Description |
---|---|
void |
decIndex()
Decrement the index into the current data array.
|
void |
decIndex(int decrement)
Decrease the index into the current data array by
decrement
steps. |
int |
getIndex()
Get the current index into the current data array.
|
void |
incIndex()
Increment the index into the current data array.
|
void |
incIndex(int increment)
Increases the index into the current data array by
increment
steps. |
abstract String |
toString() |
void |
updateIndex(int j)
Set the index into the current data array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createSuitableNativeImg, duplicateTypeOnSameNativeImg, getEntitiesPerPixel, updateContainer
copy, createVariable, set
valueEquals
public void updateIndex(int j)
NativeType
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
updateIndex
in interface NativeType<T extends AbstractNativeType<T>>
j
- the new array indexpublic int getIndex()
NativeType
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
getIndex
in interface NativeType<T extends AbstractNativeType<T>>
public void incIndex()
NativeType
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
incIndex
in interface NativeType<T extends AbstractNativeType<T>>
public void incIndex(int increment)
NativeType
increment
steps.
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
incIndex
in interface NativeType<T extends AbstractNativeType<T>>
increment
- how many stepspublic void decIndex()
NativeType
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
decIndex
in interface NativeType<T extends AbstractNativeType<T>>
public void decIndex(int decrement)
NativeType
decrement
steps.
This is used by accessors (e.g., a Cursor
) to position the
NativeType
in the container.
decIndex
in interface NativeType<T extends AbstractNativeType<T>>
decrement
- how many stepsCopyright © 2009–2018 ImgLib2. All rights reserved.