public final class BitCounter extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BitCounter.BitCounterType |
| Constructor and Description |
|---|
BitCounter() |
BitCounter(boolean unassignedIsZero) |
BitCounter(int length) |
BitCounter(int length,
boolean unassignedIsZero) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(long x) |
void |
aggregate(long x,
int length) |
void |
aggregate(Number x) |
void |
aggregate(Number x,
int length) |
int |
getNumberBits() |
BitCounter.BitCounterType |
getType(int n) |
static Map<String,BitCounter> |
scrutinizeProtocols(Iterable<Protocol> protocols) |
String |
toString() |
String |
toString(CharSequence delimiter) |
public BitCounter()
public BitCounter(boolean unassignedIsZero)
public BitCounter(int length,
boolean unassignedIsZero)
public BitCounter(int length)
public static Map<String,BitCounter> scrutinizeProtocols(Iterable<Protocol> protocols)
public int getNumberBits()
public BitCounter.BitCounterType getType(int n)
public String toString(CharSequence delimiter)
public void aggregate(long x,
int length)
public void aggregate(Number x, int length)
public void aggregate(long x)
public void aggregate(Number x)
Copyright © 2019. All rights reserved.