public class BoolType extends AbstractIntegerType<BoolType> implements BooleanType<BoolType>
BooleanType
wrapping a single primitive boolean
variable.Constructor and Description |
---|
BoolType() |
BoolType(boolean value) |
BoolType(T type) |
Modifier and Type | Method and Description |
---|---|
void |
and(boolean b) |
void |
and(BoolType c) |
int |
compareTo(BoolType other) |
BoolType |
copy()
|
BoolType |
createVariable()
Creates a new
Type variable which can only store one value. |
boolean |
equals(Object obj) |
boolean |
get() |
BigInteger |
getBigInteger() |
int |
getBitsPerPixel() |
int |
getInteger() |
long |
getIntegerLong() |
double |
getMaxValue() |
double |
getMinValue() |
int |
hashCode() |
void |
not() |
void |
or(boolean b) |
void |
or(BoolType c) |
void |
set(boolean value) |
void |
set(BoolType c)
Sets the value of another
Type . |
void |
setBigInteger(BigInteger b) |
void |
setInteger(int f) |
void |
setInteger(long f) |
boolean |
valueEquals(BoolType t) |
void |
xor(boolean b) |
void |
xor(BoolType c) |
dec, getMinIncrement, getRealDouble, getRealFloat, inc, setOne, setReal, setReal, setZero, toString
add, div, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, mul, mul, mul, pow, pow, setImaginary, setImaginary, sub
complexConjugate, setComplexNumber, setComplexNumber
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dec, getMinIncrement, inc
complexConjugate, getImaginaryDouble, getImaginaryFloat, getPhaseDouble, getPhaseFloat, getPowerDouble, getPowerFloat, getRealDouble, getRealFloat, setComplexNumber, setComplexNumber, setImaginary, setImaginary, setReal, setReal
mul, mul
pow
public BoolType()
public BoolType(boolean value)
public BoolType(T type)
public BoolType createVariable()
Type
Type
variable which can only store one value.createVariable
in interface Type<BoolType>
Type
variablepublic void set(BoolType c)
Type
Type
.public boolean get()
get
in interface BooleanType<BoolType>
public void set(boolean value)
set
in interface BooleanType<BoolType>
public void and(boolean b)
public void or(boolean b)
public void xor(boolean b)
public void and(BoolType c)
and
in interface BooleanType<BoolType>
public void or(BoolType c)
or
in interface BooleanType<BoolType>
public void xor(BoolType c)
xor
in interface BooleanType<BoolType>
public void not()
not
in interface BooleanType<BoolType>
public double getMaxValue()
getMaxValue
in interface RealType<BoolType>
public double getMinValue()
getMinValue
in interface RealType<BoolType>
public int getBitsPerPixel()
getBitsPerPixel
in interface RealType<BoolType>
public int getInteger()
getInteger
in interface IntegerType<BoolType>
public long getIntegerLong()
getIntegerLong
in interface IntegerType<BoolType>
public BigInteger getBigInteger()
getBigInteger
in interface IntegerType<BoolType>
public void setInteger(int f)
setInteger
in interface IntegerType<BoolType>
public void setInteger(long f)
setInteger
in interface IntegerType<BoolType>
public void setBigInteger(BigInteger b)
setBigInteger
in interface IntegerType<BoolType>
public int compareTo(BoolType other)
compareTo
in interface Comparable<BoolType>
compareTo
in class AbstractIntegerType<BoolType>
public boolean valueEquals(BoolType t)
valueEquals
in interface ValueEquals<BoolType>
valueEquals
in class AbstractIntegerType<BoolType>
public boolean equals(Object obj)
equals
in class AbstractIntegerType<BoolType>
public int hashCode()
hashCode
in class AbstractIntegerType<BoolType>
Copyright © 2015–2022 ImgLib2. All rights reserved.