Top Description Inners Fields Constructors Methods
com.aayushatharva.brotli4j.encoder

public Class PreparedDictionaryGenerator

extends Object
Class Inheritance
Annotations
@Upstream
Imports
com.aayushatharva.brotli4j.common.annotations.Upstream, java.nio.Buffer, .ByteBuffer, .ByteOrder, .IntBuffer, .ShortBuffer

Java prepared (raw) dictionary producer.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static final long
private static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PreparedDictionary
public static PreparedDictionary
generate(ByteBuffer src, int bucketBits, int slotBits, int hashBits, int blockBits)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

HASH_MULTIPLIERback to summary
private static final long HASH_MULTIPLIER
MAGICback to summary
private static final int MAGIC

Constructor Detail

PreparedDictionaryGeneratorback to summary
private PreparedDictionaryGenerator()

Method Detail

generateback to summary
public static PreparedDictionary generate(ByteBuffer src)
generateback to summary
public static PreparedDictionary generate(ByteBuffer src, int bucketBits, int slotBits, int hashBits, int blockBits)
com.aayushatharva.brotli4j.encoder back to summary

private Class PreparedDictionaryGenerator.PreparedDictionaryImpl

extends Object
implements PreparedDictionary
Class Inheritance
  • java.lang.Object
  • com.aayushatharva.brotli4j.encoder.PreparedDictionaryGenerator.PreparedDictionaryImpl
All Implemented Interfaces
com.aayushatharva.brotli4j.encoder.PreparedDictionary

Field Summary

Modifier and TypeField and Description
private final ByteBuffer

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ByteBuffer
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databack to summary
private final ByteBuffer data

Constructor Detail

PreparedDictionaryImplback to summary
private PreparedDictionaryImpl(ByteBuffer data)

Method Detail

getDataback to summary
public ByteBuffer getData()

Implements com.aayushatharva.brotli4j.encoder.PreparedDictionary.getData.

Annotations
@Override