public final class IntegerTranscoder extends SpyObject implements Transcoder<Integer>
| Constructor and Description |
|---|
IntegerTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncDecode(CachedData d)
Should the transcoder be run asyncronously.
|
Integer |
decode(CachedData d)
Decode the cached object into the object it represents.
|
CachedData |
encode(Integer l)
Encode the given object for storage.
|
int |
getMaxSize()
Get the maximum size of objects handled by this transcoder.
|
public boolean asyncDecode(CachedData d)
TranscoderasyncDecode in interface Transcoder<Integer>public CachedData encode(Integer l)
Transcoderencode in interface Transcoder<Integer>l - the objectpublic Integer decode(CachedData d)
Transcoderdecode in interface Transcoder<Integer>d - the datapublic int getMaxSize()
TranscodergetMaxSize in interface Transcoder<Integer>Copyright © 2025. All rights reserved.