C
- the type parameterpublic abstract class BitsCollection<C extends Map<Bits,AtomicInteger>> extends CountCollection<Bits,C>
Modifier and Type | Class and Description |
---|---|
static class |
BitsCollection.CodeType
The enum Code type.
|
Modifier and Type | Field and Description |
---|---|
Integer |
bitDepth
The Bit depth.
|
map
Constructor and Description |
---|
BitsCollection(C collection)
Instantiates a new Bits collection.
|
BitsCollection(int bitDepth,
C collection)
Instantiates a new Bits collection.
|
Modifier and Type | Method and Description |
---|---|
BitsCollection.CodeType |
getType(Bits bits)
Gets type.
|
abstract void |
read(BitInputStream in)
Read.
|
abstract void |
write(BitOutputStream out)
Write.
|
public final Integer bitDepth
public BitsCollection(C collection)
collection
- the collectionpublic BitsCollection(int bitDepth, C collection)
bitDepth
- the bit depthcollection
- the collectionpublic BitsCollection.CodeType getType(Bits bits)
bits
- the bitspublic abstract void read(BitInputStream in) throws IOException
in
- the inIOException
- the io exceptionpublic abstract void write(BitOutputStream out) throws IOException
out
- the outIOException
- the io exceptionCopyright © 2019 SimiaCryptus Software. All rights reserved.