| Package | Description |
|---|---|
| com.simiacryptus.util.binary | |
| com.simiacryptus.util.binary.bitset | |
| com.simiacryptus.util.binary.codes |
| Modifier and Type | Field and Description |
|---|---|
static Bits |
Bits.NULL |
static Bits |
Bits.ONE |
static Bits |
Bits.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Bits |
Bits.bitwiseAnd(Bits right) |
Bits |
Bits.bitwiseOr(Bits right) |
Bits |
Bits.bitwiseXor(Bits right) |
Bits |
Bits.concatenate(Bits right) |
static Bits |
Bits.divide(long numerator,
long denominator,
long maxBits) |
Bits |
Bits.leftShift(int bits) |
Bits |
Bits.next() |
Bits |
Bits.padLeft(int targetLength) |
Bits |
Bits.padRight(long targetLength) |
Bits |
BitInputStream.peek(int bits) |
Bits |
Bits.range(int start) |
Bits |
Bits.range(int start,
int length) |
Bits |
BitInputStream.read(int bits) |
Bits |
BitInputStream.readAhead() |
Bits |
BitInputStream.readAhead(int bytes) |
Bits |
Interval.toBits() |
static Bits |
BitOutputStream.toBits(java.util.function.Consumer<BitOutputStream> fn) |
Bits |
BitOutputStream.writeBoundedLong(long value,
long max) |
| Modifier and Type | Method and Description |
|---|---|
Bits |
Bits.bitwiseAnd(Bits right) |
Bits |
Bits.bitwiseOr(Bits right) |
Bits |
Bits.bitwiseXor(Bits right) |
int |
Bits.compareTo(Bits arg0) |
Bits |
Bits.concatenate(Bits right) |
static int |
Bits.dataCompare(Bits left,
Bits right) |
void |
BitInputStream.expect(Bits bits) |
boolean |
Bits.startsWith(Bits key) |
void |
BitOutputStream.write(Bits bits) |
| Modifier and Type | Class and Description |
|---|---|
class |
BitsCollection<C extends Map<Bits,AtomicInteger>> |
| Modifier and Type | Field and Description |
|---|---|
Bits |
CountTreeBitsCollection.BranchCounts.path |
| Modifier and Type | Method and Description |
|---|---|
TreeMap<Bits,Long> |
CountTreeBitsCollection.computeSums() |
| Modifier and Type | Method and Description |
|---|---|
BitsCollection.CodeType |
BitsCollection.getType(Bits bits) |
protected CountTreeBitsCollection.BranchCounts |
CountTreeBitsCollection.readBranchCounts(BitInputStream in,
Bits code,
long size) |
protected long |
CountTreeBitsCollection.readZeroBranchSize(BitInputStream in,
long max,
Bits code) |
protected void |
CountTreeBitsCollection.writeZeroBranchSize(BitOutputStream out,
long value,
long max,
Bits bits) |
| Constructor and Description |
|---|
BranchCounts(Bits path,
long size) |
BranchCounts(Bits path,
long size,
long terminals,
long zeroCount,
long oneCount) |
| Modifier and Type | Field and Description |
|---|---|
protected TreeMap<Bits,T> |
HammingCode.forwardIndex |
protected HashMap<T,Bits> |
HammingCode.reverseIndex |
| Modifier and Type | Method and Description |
|---|---|
Bits |
HammingCode.encode(T key) |
| Modifier and Type | Method and Description |
|---|---|
Map.Entry<Bits,T> |
HammingCode.decode(Bits data) |
SortedMap<Bits,T> |
HammingCode.getCodes(Bits fromKey) |
| Modifier and Type | Method and Description |
|---|---|
Map.Entry<Bits,T> |
HammingCode.decode(Bits data) |
SortedMap<Bits,T> |
HammingCode.getCodes(Bits fromKey) |
BitsCollection.CodeType |
HammingCode.HammingCodeCollection.getType(Bits bits) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HammingCode.isPrefixFreeCode(Set<Bits> keySet) |
Copyright © 2019 SimiaCryptus Software. All rights reserved.