public abstract class CompressorHolder extends Object implements Compressable
Compressable
objects. This class provides a default implementation of the method
compressor(DynamicOps)
.KeyCompressor
objects generated from different serialization forms.Constructor and Description |
---|
CompressorHolder() |
Modifier and Type | Method and Description |
---|---|
<T> KeyCompressor<T> |
compressor(DynamicOps<T> ops)
Returns the
KeyCompressor used to compress keys in this object's key set for the given serialized form. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forStrings, keys
public <T> KeyCompressor<T> compressor(DynamicOps<T> ops)
Compressable
KeyCompressor
used to compress keys in this object's key set for the given serialized form.compressor
in interface Compressable
T
- The type of the serialized form.ops
- The DynamicOps
instance defining the serialized form.KeyCompressor
for this object's keys.