Class StringIntMapCodec

java.lang.Object
com.illumon.util.codec.MapCodec<String,V>
com.illumon.util.codec.StringIntMapCodec
All Implemented Interfaces:
ObjectCodec<Map<String,Integer>>, ObjectDecoder<Map<String,Integer>>

public class StringIntMapCodec extends MapCodec<String,V>
ObjectCodec implementation for Maps of String to Integer. 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.
  • Constructor Details

    • StringIntMapCodec

      public StringIntMapCodec(@Nullable String arguments)