public abstract class GenericByteLongAccessType<T extends GenericByteLongAccessType<T>> extends AbstractIntegerType<T> implements NativeLongAccessType<T>
Modifier and Type | Field and Description |
---|---|
protected ByteLongAccess |
dataAccess |
protected NativeLongAccessImg<?,? extends ByteLongAccess> |
img |
Constructor and Description |
---|
GenericByteLongAccessType() |
GenericByteLongAccessType(byte value) |
GenericByteLongAccessType(ByteLongAccess access) |
GenericByteLongAccessType(NativeLongAccessImg<?,? extends ByteLongAccess> byteStorage) |
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 byte |
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(byte f) |
void |
setZero() |
void |
sub(T c) |
String |
toString() |
void |
updateContainer(Object c) |
void |
updateIndex(long index)
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 ByteLongAccess> img
protected ByteLongAccess dataAccess
public GenericByteLongAccessType(NativeLongAccessImg<?,? extends ByteLongAccess> byteStorage)
public GenericByteLongAccessType(byte value)
public GenericByteLongAccessType(ByteLongAccess access)
public GenericByteLongAccessType()
public Fraction getEntitiesPerPixel()
NativeLongAccessType
getEntitiesPerPixel
in interface NativeLongAccessType<T extends GenericByteLongAccessType<T>>
public void updateContainer(Object c)
updateContainer
in interface NativeLongAccessType<T extends GenericByteLongAccessType<T>>
protected byte getValue()
protected void setValue(byte f)
public void mul(float c)
mul
in interface MulFloatingPoint
mul
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public void mul(double c)
mul
in interface MulFloatingPoint
mul
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public void add(T c)
add
in interface Add<T extends GenericByteLongAccessType<T>>
add
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public void div(T c)
div
in interface Div<T extends GenericByteLongAccessType<T>>
div
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public void mul(T c)
mul
in interface Mul<T extends GenericByteLongAccessType<T>>
mul
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public void sub(T c)
sub
in interface Sub<T extends GenericByteLongAccessType<T>>
sub
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
public int hashCode()
hashCode
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public int compareTo(T c)
compareTo
in interface Comparable<T extends GenericByteLongAccessType<T>>
compareTo
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public void set(T c)
Type
Type
.set
in interface Type<T extends GenericByteLongAccessType<T>>
set
in class AbstractRealType<T extends GenericByteLongAccessType<T>>
c
- the new valuepublic void setOne()
setOne
in interface SetOne
setOne
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public void setZero()
setZero
in interface SetZero
setZero
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public void inc()
inc
in interface RealType<T extends GenericByteLongAccessType<T>>
inc
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public void dec()
dec
in interface RealType<T extends GenericByteLongAccessType<T>>
dec
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public String toString()
toString
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
public void updateIndex(long index)
NativeLongAccessType
This is used by accessors (e.g., a Cursor
) to position the
NativeLongAccessType
in the container.
updateIndex
in interface NativeLongAccessType<T extends GenericByteLongAccessType<T>>
index
- 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 GenericByteLongAccessType<T>>
public void incIndex()
incIndex
in interface NativeLongAccessType<T extends GenericByteLongAccessType<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 GenericByteLongAccessType<T>>
increment
- how many stepspublic void decIndex()
decIndex
in interface NativeLongAccessType<T extends GenericByteLongAccessType<T>>
public 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 GenericByteLongAccessType<T>>
decrement
- how many stepspublic int getBitsPerPixel()
getBitsPerPixel
in interface RealType<T extends GenericByteLongAccessType<T>>
public boolean valueEquals(T t)
valueEquals
in interface ValueEquals<T extends GenericByteLongAccessType<T>>
valueEquals
in class AbstractIntegerType<T extends GenericByteLongAccessType<T>>
Copyright © 2015–2022 ImgLib2. All rights reserved.