public class BasePairBitType extends AbstractBit64Type<BasePairBitType> implements BasePairType<BasePairBitType>
BasePairBitType.Base
enumeration.Modifier and Type | Class and Description |
---|---|
static class |
BasePairBitType.Base |
dataAccess, i, img, nBits
Constructor and Description |
---|
BasePairBitType() |
BasePairBitType(BasePairBitType.Base value) |
BasePairBitType(NativeImg<?,? extends LongAccess> bitStorage) |
Modifier and Type | Method and Description |
---|---|
byte |
baseToValue() |
int |
compareTo(BasePairBitType c) |
void |
complement() |
BasePairBitType |
copy()
|
BasePairBitType |
createVariable()
Creates a new
Type variable which can only store one value. |
BasePairBitType |
duplicateTypeOnSameNativeImg()
Creates a new
NativeType which stores in the same physical array. |
BasePairBitType.Base |
get() |
NativeTypeFactory<BasePairBitType,LongAccess> |
getNativeTypeFactory() |
void |
set(BasePairBitType.Base base) |
void |
set(BasePairBitType c)
Sets the value of another
Type . |
String |
toString() |
boolean |
valueEquals(BasePairBitType t) |
getBits, setBits
getEntitiesPerPixel, index, updateContainer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decIndex, decIndex, getIndex, incIndex, incIndex, updateIndex
public BasePairBitType(NativeImg<?,? extends LongAccess> bitStorage)
public BasePairBitType(BasePairBitType.Base value)
public BasePairBitType()
public BasePairBitType duplicateTypeOnSameNativeImg()
NativeType
NativeType
which stores in the same physical array.
This is only used internally.duplicateTypeOnSameNativeImg
in interface NativeType<BasePairBitType>
NativeType
instance working on the same
NativeImg
public NativeTypeFactory<BasePairBitType,LongAccess> getNativeTypeFactory()
getNativeTypeFactory
in interface NativeType<BasePairBitType>
getNativeTypeFactory
in class AbstractBitType<BasePairBitType>
public void set(BasePairBitType.Base base)
set
in interface BasePairType<BasePairBitType>
public BasePairBitType.Base get()
get
in interface BasePairType<BasePairBitType>
public int compareTo(BasePairBitType c)
compareTo
in interface Comparable<BasePairBitType>
public void complement()
complement
in interface BasePairType<BasePairBitType>
public byte baseToValue()
baseToValue
in interface BasePairType<BasePairBitType>
public void set(BasePairBitType c)
Type
Type
.set
in interface Type<BasePairBitType>
c
- the new valuepublic BasePairBitType createVariable()
Type
Type
variable which can only store one value.createVariable
in interface Type<BasePairBitType>
Type
variablepublic BasePairBitType copy()
Type
copy
in interface Type<BasePairBitType>
Type
variablepublic boolean valueEquals(BasePairBitType t)
valueEquals
in interface ValueEquals<BasePairBitType>
Copyright © 2015–2022 ImgLib2. All rights reserved.