public abstract class GenericIntLongAccessType<T extends GenericIntLongAccessType<T>> extends AbstractIntegerType<T> implements NativeLongAccessType<T>
Modifier and Type | Field and Description |
---|---|
protected IntLongAccess |
dataAccess |
protected NativeLongAccessImg<?,? extends IntLongAccess> |
img |
Constructor and Description |
---|
GenericIntLongAccessType() |
GenericIntLongAccessType(int value) |
GenericIntLongAccessType(IntLongAccess access) |
GenericIntLongAccessType(NativeLongAccessImg<?,? extends IntLongAccess> intStorage) |
Modifier and Type | Method and Description |
---|---|
void |
add(T c) |
int |
compareTo(T c) |
void |
dec() |
void |
decIndex() |
void |
decIndex(long decrement)
Decrease the index into the current data array by
decrement
steps. |
void |
div(T c) |
int |
getBitsPerPixel() |
Fraction |
getEntitiesPerPixel()
Get the number of entities in the storage array required to store one
pixel value.
|
long |
getIndexLong()
Get the current index into the current data array.
|
protected int |
getValue() |
int |
hashCode() |
void |
inc() |
void |
incIndex() |
void |
incIndex(long increment)
Increases the index into the current data array by
increment
steps. |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(T c) |
void |
set(T c)
Sets the value of another
Type . |
void |
setOne() |
protected void |
setValue(int f) |
void |
setZero() |
void |
sub(T c) |
String |
toString() |
void |
updateContainer(Object c) |
void |
updateIndex(long k)
Set the index into the current data array.
|
boolean |
valueEquals(T t) |
equals, getMinIncrement, getRealDouble, getRealFloat, setReal, setReal
getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, pow, pow, setImaginary, setImaginary
complexConjugate, setComplexNumber, setComplexNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
createSuitableNativeImg, duplicateTypeOnSameNativeImg, getNativeLongAccessTypeFactory
copy, createVariable
getBigInteger, getInteger, getIntegerLong, setBigInteger, setInteger, setInteger
getMaxValue, getMinValue
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary
pow
protected final NativeLongAccessImg<?,? extends IntLongAccess> img
protected IntLongAccess dataAccess
public GenericIntLongAccessType(NativeLongAccessImg<?,? extends IntLongAccess> intStorage)
public GenericIntLongAccessType(int value)
public GenericIntLongAccessType(IntLongAccess access)
public GenericIntLongAccessType()
public Fraction getEntitiesPerPixel()
NativeLongAccessType
getEntitiesPerPixel
in interface NativeLongAccessType<T extends GenericIntLongAccessType<T>>
public void updateContainer(Object c)
updateContainer
in interface NativeLongAccessType<T extends GenericIntLongAccessType<T>>
protected int getValue()
protected void setValue(int f)
public void mul(float c)
mul
in interface MulFloatingPoint
mul
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public void mul(double c)
mul
in interface MulFloatingPoint
mul
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public void add(T c)
add
in interface Add<T extends GenericIntLongAccessType<T>>
add
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public void div(T c)
div
in interface Div<T extends GenericIntLongAccessType<T>>
div
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public void mul(T c)
mul
in interface Mul<T extends GenericIntLongAccessType<T>>
mul
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public void sub(T c)
sub
in interface Sub<T extends GenericIntLongAccessType<T>>
sub
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
public int hashCode()
hashCode
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public int compareTo(T c)
compareTo
in interface Comparable<T extends GenericIntLongAccessType<T>>
compareTo
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public void set(T c)
Type
Type
.set
in interface Type<T extends GenericIntLongAccessType<T>>
set
in class AbstractRealType<T extends GenericIntLongAccessType<T>>
c
- the new valuepublic void setOne()
setOne
in interface SetOne
setOne
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public void setZero()
setZero
in interface SetZero
setZero
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public void inc()
inc
in interface RealType<T extends GenericIntLongAccessType<T>>
inc
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public void dec()
dec
in interface RealType<T extends GenericIntLongAccessType<T>>
dec
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public String toString()
toString
in class AbstractIntegerType<T extends GenericIntLongAccessType<T>>
public void incIndex()
incIndex
in interface NativeLongAccessType<T extends GenericIntLongAccessType<T>>
public void decIndex()
decIndex
in interface NativeLongAccessType<T extends GenericIntLongAccessType<T>>
public int getBitsPerPixel()
getBitsPerPixel
in interface RealType<T extends GenericIntLongAccessType<T>>
public boolean valueEquals(T t)
valueEquals
in interface ValueEquals<T extends GenericIntLongAccessType<T>>
valueEquals
in class AbstractIntegerType<T extends GenericIntLongAccessType<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 GenericIntLongAccessType<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 GenericIntLongAccessType<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 GenericIntLongAccessType<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 GenericIntLongAccessType<T>>
decrement
- how many stepsCopyright © 2015–2022 ImgLib2. All rights reserved.