public final class LongTranscoder extends PrimitiveTypeTranscoder<Long>
primitiveAsString, tu
charset, compressionThreshold, compressMode, DEFAULT_CHARSET, DEFAULT_COMPRESSION_THRESHOLD
Constructor and Description |
---|
LongTranscoder() |
Modifier and Type | Method and Description |
---|---|
Long |
decode(CachedData d)
Decode the cached object into the object it represents.
|
CachedData |
encode(Long l)
Encode the given object for storage.
|
isPackZeros, isPrimitiveAsString, setPackZeros, setPrimitiveAsString
compress, decodeString, decompress, deserialize, encodeString, getCompressMode, serialize, setCharset, setCompressionMode, setCompressionThreshold
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setCompressionMode, setCompressionThreshold
public CachedData encode(Long l)
Transcoder
l
- the objectpublic Long decode(CachedData d)
Transcoder
d
- the dataCopyright © 2021. All rights reserved.