public abstract class IntegerTypeImpl<T extends IntegerTypeImpl<T>> extends RealTypeImpl<T> implements IntegerType<T>
Constructor and Description |
---|
IntegerTypeImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(T c) |
void |
dec() |
Display<T> |
getDefaultDisplay(Image<T> image)
|
double |
getMinIncrement() |
double |
getRealDouble() |
float |
getRealFloat() |
void |
inc() |
void |
setOne() |
void |
setReal(double real) |
void |
setReal(float real) |
void |
setZero() |
String |
toString() |
add, decIndex, decIndex, div, getComplexDouble, getComplexFloat, getEntitiesPerPixel, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, incIndex, incIndex, mul, mul, mul, set, setComplex, setComplex, sub, updateIndex
complexConjugate, getPreferredRealPrecision, setComplexNumber, setComplexNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInteger, getIntegerLong, setInteger, setInteger
getMaxValue, getMinValue
complexConjugate, getComplexDouble, getComplexFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, getPreferredRealPrecision, setComplex, setComplex, setComplexNumber, setComplexNumber
add, div, mul, mul, mul, sub
copy, createArray1D, createArray2D, createArray3D, createSuitableDirectAccessContainer, createVariable, decIndex, decIndex, duplicateTypeOnSameDirectAccessContainer, getEntitiesPerPixel, getIndex, incIndex, incIndex, set, updateContainer, updateIndex
public Display<T> getDefaultDisplay(Image<T> image)
Type
Type
creates the default Display
for displaying the image contents. Only Type
can do this as in Image
the Type
is only a Generic. Later the user can create its own Display
s if wanted.
This could be basically a static function.getDefaultDisplay
in interface Type<T extends IntegerTypeImpl<T>>
getDefaultDisplay
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
image
- - the image to create the Display
forDisplay
public double getMinIncrement()
getMinIncrement
in interface RealType<T extends IntegerTypeImpl<T>>
public float getRealFloat()
getRealFloat
in interface ComplexType<T extends IntegerTypeImpl<T>>
public double getRealDouble()
getRealDouble
in interface ComplexType<T extends IntegerTypeImpl<T>>
public void setReal(float real)
setReal
in interface ComplexType<T extends IntegerTypeImpl<T>>
public void setReal(double real)
setReal
in interface ComplexType<T extends IntegerTypeImpl<T>>
public void inc()
inc
in interface RealType<T extends IntegerTypeImpl<T>>
inc
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
public void dec()
dec
in interface RealType<T extends IntegerTypeImpl<T>>
dec
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
public void setZero()
setZero
in interface NumericType<T extends IntegerTypeImpl<T>>
setZero
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
public void setOne()
setOne
in interface NumericType<T extends IntegerTypeImpl<T>>
setOne
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
public int compareTo(T c)
compareTo
in interface Comparable<T extends IntegerTypeImpl<T>>
compareTo
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
public String toString()
toString
in class RealTypeImpl<T extends IntegerTypeImpl<T>>
Copyright © 2015–2021 Fiji. All rights reserved.