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, valueEqualsgetMinIncrement, getRealDouble, getRealFloat, setReal, setRealequals, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setImaginary, setImaginarycomplexConjugate, setComplexNumber, setComplexNumberclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomplexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginarypublic 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)
NativeTypeNativeType 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()
NativeTypeNativeType which stores in the same physical array.
This is only used internally.NativeType instance working on the same
NativeImgpublic void mul(float c)
mul in interface MulFloatingPointmul in class GenericIntType<UnsignedIntType>public void mul(double c)
mul in interface MulFloatingPointmul 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 SetOnesetOne in class GenericIntType<UnsignedIntType>public void setZero()
setZero in interface SetZerosetZero 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()
TypeType variable which can only store one value.Type variablepublic UnsignedIntType copy()
TypeType variableCopyright © 2009–2017 ImgLib2. All rights reserved.