public abstract static class PackedInts.Writer extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
bitsPerValue |
protected DataOutput |
out |
protected int |
valueCount |
Modifier | Constructor and Description |
---|---|
protected |
PackedInts.Writer(DataOutput out,
int valueCount,
int bitsPerValue) |
protected final DataOutput out
protected final int bitsPerValue
protected final int valueCount
protected PackedInts.Writer(DataOutput out, int valueCount, int bitsPerValue) throws IOException
IOException
public abstract void add(long v) throws IOException
IOException
public abstract void finish() throws IOException
IOException