T
- The enum type
Codec<T>
, Decoder<T>
, Encoder<T>
A codec for classes that extends
Enum
Constructors
Construct an instance for teh given enum class.
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
Decoder
Decodes a BSON value from the given reader into an instance of the type parameter T
.
Encoder
Encode an instance of the type parameter T
into a BSON value.
()
Description copied from interface:Encoder
Returns the Class instance that this encodes. This is necessary because Java does not reify generic types.
getEncoderClass
in interface Encoder<T extends Enum<T>>
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