public class UnsignedIntType extends GenericIntType<UnsignedIntType>
dataAccess, img
Constructor and Description |
---|
UnsignedIntType() |
UnsignedIntType(IntAccess access) |
UnsignedIntType(long value) |
UnsignedIntType(NativeImg<?,? extends IntAccess> img) |
Modifier and Type | Method and Description |
---|---|
void |
add(UnsignedIntType c) |
int |
compareTo(UnsignedIntType c) |
UnsignedIntType |
copy()
|
NativeImg<UnsignedIntType,? extends IntAccess> |
createSuitableNativeImg(NativeImgFactory<UnsignedIntType> storageFactory,
long[] dim)
The
NativeType creates the NativeImg used for storing
image data; based on the given storage strategy and its size. |
UnsignedIntType |
createVariable()
Creates a new
Type variable which can only store one value. |
void |
dec() |
void |
div(UnsignedIntType c) |
UnsignedIntType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
long |
get() |
BigInteger |
getBigInteger() |
static int |
getCodedSignedInt(long unsignedInt) |
static int |
getCodedSignedIntChecked(long unsignedInt) |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
static long |
getUnsignedInt(int signedInt) |
int |
hashCode() |
void |
inc() |
void |
mul(double c) |
void |
mul(float c) |
void |
mul(UnsignedIntType c) |
void |
set(long f) |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
void |
setOne() |
void |
setZero() |
void |
sub(UnsignedIntType c) |
String |
toString() |
decIndex, decIndex, getBitsPerPixel, getEntitiesPerPixel, getIndex, getInt, getValue, incIndex, incIndex, set, setInt, setValue, 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 UnsignedIntType(long value)
public UnsignedIntType(IntAccess access)
public UnsignedIntType()
public static int getCodedSignedIntChecked(long unsignedInt)
public static int getCodedSignedInt(long unsignedInt)
public static long getUnsignedInt(int signedInt)
public NativeImg<UnsignedIntType,? extends IntAccess> createSuitableNativeImg(NativeImgFactory<UnsignedIntType> 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 UnsignedIntType duplicateTypeOnSameNativeImg()
NativeType
NativeType
which stores in the same physical array.
This is only used internally.NativeType
instance working on the same
NativeImg
public void mul(float c)
mul
in interface MulFloatingPoint
mul
in class GenericIntType<UnsignedIntType>
public void mul(double c)
mul
in interface MulFloatingPoint
mul
in class GenericIntType<UnsignedIntType>
public void add(UnsignedIntType c)
add
in interface Add<UnsignedIntType>
add
in class GenericIntType<UnsignedIntType>
public void div(UnsignedIntType c)
div
in interface Div<UnsignedIntType>
div
in class GenericIntType<UnsignedIntType>
public void mul(UnsignedIntType c)
mul
in interface Mul<UnsignedIntType>
mul
in class GenericIntType<UnsignedIntType>
public void sub(UnsignedIntType c)
sub
in interface Sub<UnsignedIntType>
sub
in class GenericIntType<UnsignedIntType>
public void setOne()
setOne
in interface SetOne
setOne
in class GenericIntType<UnsignedIntType>
public void setZero()
setZero
in interface SetZero
setZero
in class GenericIntType<UnsignedIntType>
public void inc()
inc
in interface RealType<UnsignedIntType>
inc
in class GenericIntType<UnsignedIntType>
public void dec()
dec
in interface RealType<UnsignedIntType>
dec
in class GenericIntType<UnsignedIntType>
public String toString()
toString
in class GenericIntType<UnsignedIntType>
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 GenericIntType<UnsignedIntType>
public int compareTo(UnsignedIntType c)
compareTo
in interface Comparable<UnsignedIntType>
compareTo
in class GenericIntType<UnsignedIntType>
public UnsignedIntType createVariable()
Type
Type
variable which can only store one value.Type
variablepublic UnsignedIntType copy()
Type
Type
variableCopyright © 2009–2018 ImgLib2. All rights reserved.