Package com.illumon.util.codec
Class StringBooleanMapCodec
- All Implemented Interfaces:
ObjectCodec<Map<String,Boolean>>
,ObjectDecoder<Map<String,Boolean>>
public class StringBooleanMapCodec extends MapCodec<String,V>
ObjectCodec implementation for Maps of String to Boolean.
Each map is encoded as an integer length, followed by UTF-8 encoded strings for each key and the value.
A null map is represented as an array of zero bytes.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StringBooleanMapCodec(String arguments)
-
Method Summary
Methods inherited from class com.illumon.util.codec.MapCodec
decode, encode, expectedObjectWidth, getPrecision, getScale, isNullable