Codec<AtomicLong>
, Decoder<AtomicLong>
, Encoder<AtomicLong>
Encodes and decodes AtomicLong
objects.
Constructors
Decodes a BSON value from the given reader into an instance of the type parameter T
.
void
Encode an instance of the type parameter T
into a BSON value.
Returns the Class instance that this encodes.
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public AtomicLongCodec()
Encoder
Encode an instance of the type parameter T
into a BSON value.
encode
in interface Encoder<AtomicLong>
writer
- the BSON writer to encode into
value
- the value to encode
encoderContext
- the encoder context
Decoder
Decodes a BSON value from the given reader into an instance of the type parameter T
.
decode
in interface Decoder<AtomicLong>
reader
- the BSON reader
decoderContext
- the decoder context
T
.
Encoder
Returns the Class instance that this encodes. This is necessary because Java does not reify generic types.
getEncoderClass
in interface Encoder<AtomicLong>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4