public class HammingCode.HammingCodeCollection extends CountTreeBitsCollection
CountTreeBitsCollection.BranchCounts, CountTreeBitsCollection.SerializationChecks
BitsCollection.CodeType
SERIALIZATION_CHECKS
bitDepth
map
Constructor and Description |
---|
HammingCodeCollection()
Instantiates a new Hamming run collection.
|
HammingCodeCollection(BitInputStream data)
Instantiates a new Hamming run collection.
|
HammingCodeCollection(byte[] data)
Instantiates a new Hamming run collection.
|
Modifier and Type | Method and Description |
---|---|
BitsCollection.CodeType |
getType(Bits bits)
Gets type.
|
computeSums, isNull, read, read, readBranchCounts, readTerminalCount, readZeroBranchSize, setUseBinomials, sum, toBytes, useBinomials, write, write, writeBranchCounts, writeTerminalCount, writeZeroBranchSize
public HammingCodeCollection()
public HammingCodeCollection(BitInputStream data) throws IOException
data
- the dataIOException
- the io exceptionpublic HammingCodeCollection(byte[] data) throws IOException
data
- the dataIOException
- the io exceptionpublic BitsCollection.CodeType getType(Bits bits)
BitsCollection
getType
in class BitsCollection<TreeMap<Bits,AtomicInteger>>
bits
- the bitsCopyright © 2019 SimiaCryptus Software. All rights reserved.