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