| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private long | |
| private final List | |
| private final ByteBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | |
| private int[] | |
| public byte[] | |
| public byte[] | |
| public ByteBuffer | |
| public synchronized ByteBuffer |
| allocatedSize | back to summary |
|---|---|
| private final int allocatedSize | |
| dictSize | back to summary |
|---|---|
| private final int dictSize | |
| filledSize | back to summary |
|---|---|
| private long filledSize | |
| sampleSizes | back to summary |
|---|---|
| private final List<Integer> sampleSizes | |
| trainingSamples | back to summary |
|---|---|
| private final ByteBuffer trainingSamples | |
| ZstdDictTrainer | back to summary |
|---|---|
| public ZstdDictTrainer(int sampleSize, int dictSize) | |
| addSample | back to summary |
|---|---|
| public synchronized boolean addSample(byte[] sample) | |
| copyToIntArray | back to summary |
|---|---|
| private int[] copyToIntArray(List<Integer> list) | |
| trainSamples | back to summary |
|---|---|
| public byte[] trainSamples() throws ZstdException | |
| trainSamples | back to summary |
|---|---|
| public byte[] trainSamples(boolean legacy) throws ZstdException | |
| trainSamplesDirect | back to summary |
|---|---|
| public ByteBuffer trainSamplesDirect() throws ZstdException | |
| trainSamplesDirect | back to summary |
|---|---|
| public synchronized ByteBuffer trainSamplesDirect(boolean legacy) throws ZstdException | |