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