T - public abstract class VariableCodec<T> extends java.lang.Object implements Codec<T>
| Constructor and Description |
|---|
VariableCodec() |
| Modifier and Type | Method and Description |
|---|---|
T |
deepCopy(T source) |
int |
estimatedSize(T object) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
boolean |
isEstimatedSizeSupported() |
public int getFixedSize()
getFixedSize in interface Codec<T>public boolean isDeepCopySupported()
isDeepCopySupported in interface Codec<T>Codec.deepCopy(Object) operations is supported.public boolean isEstimatedSizeSupported()
isEstimatedSizeSupported in interface Codec<T>Codec.estimatedSize(Object) operation is supported.public int estimatedSize(T object)
estimatedSize in interface Codec<T>Copyright © 2010-2014 FuseSource, Corp.. All Rights Reserved.