public class LongType extends GenericLongType<LongType>
dataAccess, img
Constructor and Description |
---|
LongType() |
LongType(long value) |
LongType(LongAccess access) |
LongType(NativeImg<?,? extends LongAccess> longStorage) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LongType c) |
LongType |
copy()
|
NativeImg<LongType,? extends LongAccess> |
createSuitableNativeImg(NativeImgFactory<LongType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
LongType |
createVariable()
Creates a new
Type variable which can only store one value. |
LongType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
long |
get() |
BigInteger |
getBigInteger() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
int |
hashCode() |
void |
set(long f) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
add, dec, decIndex, decIndex, div, getBitsPerPixel, getEntitiesPerPixel, getIndex, getLong, getValue, inc, incIndex, incIndex, mul, mul, mul, set, setLong, setOne, setValue, setZero, sub, toString, updateContainer, updateIndex, valueEquals
getMinIncrement, getRealDouble, getRealFloat, setReal, setReal
equals, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setImaginary, setImaginary
complexConjugate, setComplexNumber, setComplexNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary
public LongType(NativeImg<?,? extends LongAccess> longStorage)
public LongType(LongAccess access)
public LongType(long value)
public LongType()
public NativeImg<LongType,? extends LongAccess> createSuitableNativeImg(NativeImgFactory<LongType> storageFactory, long[] dim)
NativeType
NativeType
creates the NativeImg
used for storing
image data; based on the given storage strategy and its size. It
basically only decides here which BasicType it uses (float, int, byte,
bit, ...) and how many entities per pixel it needs (e.g. 2 floats per
pixel for a complex number). This enables the separation of containers
and the basic types.public LongType duplicateTypeOnSameNativeImg()
NativeType
NativeType
which stores in the same physical array.
This is only used internally.NativeType
instance working on the same
NativeImg
public long get()
public void set(long f)
public int getInteger()
public long getIntegerLong()
public BigInteger getBigInteger()
public void setInteger(int f)
public void setInteger(long f)
public void setBigInteger(BigInteger b)
public double getMaxValue()
public double getMinValue()
public int hashCode()
hashCode
in class GenericLongType<LongType>
public int compareTo(LongType c)
compareTo
in interface Comparable<LongType>
compareTo
in class GenericLongType<LongType>
public LongType createVariable()
Type
Type
variable which can only store one value.Type
variableCopyright © 2009–2017 ImgLib2. All rights reserved.