public class UnsignedShortLongAccessType extends GenericShortLongAccessType<UnsignedShortLongAccessType>
dataAccess, img
Constructor and Description |
---|
UnsignedShortLongAccessType() |
UnsignedShortLongAccessType(int value) |
UnsignedShortLongAccessType(NativeLongAccessImg<?,? extends ShortLongAccess> img) |
UnsignedShortLongAccessType(ShortLongAccess access) |
decIndex, decIndex, getBitsPerPixel, getEntitiesPerPixel, getIndexLong, getValue, incIndex, incIndex, set, setOne, setValue, setZero, updateContainer, updateIndex, valueEquals
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
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary
pow
public UnsignedShortLongAccessType(NativeLongAccessImg<?,? extends ShortLongAccess> img)
public UnsignedShortLongAccessType(int value)
public UnsignedShortLongAccessType(ShortLongAccess access)
public UnsignedShortLongAccessType()
public static short getCodedSignedShortChecked(int unsignedShort)
public static short getCodedSignedShort(int unsignedShort)
public static int getUnsignedShort(short signedShort)
public NativeLongAccessImg<UnsignedShortLongAccessType,? extends ShortLongAccess> createSuitableNativeImg(NativeLongAccessImgFactory<UnsignedShortLongAccessType> storageFactory, long[] dim)
NativeLongAccessType
NativeLongAccessType
creates the NativeLongAccessImg
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.storageFactory
- which storage strategy is useddim
- the dimensionsNativeLongAccessImg
where only the
Type
knows the BasicType it contains.public UnsignedShortLongAccessType duplicateTypeOnSameNativeImg()
NativeLongAccessType
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 GenericShortLongAccessType<UnsignedShortLongAccessType>
public void mul(double c)
mul
in interface MulFloatingPoint
mul
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void add(UnsignedShortLongAccessType c)
add
in interface Add<UnsignedShortLongAccessType>
add
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void div(UnsignedShortLongAccessType c)
div
in interface Div<UnsignedShortLongAccessType>
div
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void mul(UnsignedShortLongAccessType c)
mul
in interface Mul<UnsignedShortLongAccessType>
mul
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void sub(UnsignedShortLongAccessType c)
sub
in interface Sub<UnsignedShortLongAccessType>
sub
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void inc()
inc
in interface RealType<UnsignedShortLongAccessType>
inc
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public void dec()
dec
in interface RealType<UnsignedShortLongAccessType>
dec
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public int get()
public void set(int 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 GenericShortLongAccessType<UnsignedShortLongAccessType>
public int compareTo(UnsignedShortLongAccessType c)
compareTo
in interface Comparable<UnsignedShortLongAccessType>
compareTo
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public UnsignedShortLongAccessType createVariable()
Type
Type
variable which can only store one value.Type
variablepublic UnsignedShortLongAccessType copy()
Type
Type
variablepublic String toString()
toString
in class GenericShortLongAccessType<UnsignedShortLongAccessType>
public NativeLongAccessTypeFactory<UnsignedShortLongAccessType,?> getNativeLongAccessTypeFactory()
Copyright © 2015–2022 ImgLib2. All rights reserved.