public class MapToBytesCodes extends ObjectToBytesCodes<Map<String,?>>
| 构造器和说明 |
|---|
MapToBytesCodes() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,?> |
decode(byte[] cipherObj,
Type plainType)
decode cipher object to plain object
|
byte[] |
encode(Map<String,?> plainObj)
encode plain object to cipher object
|
boolean |
matchDecodeType(Type plainType)
this method decide whether use decode method
|
ordercompareTo, matchEncodeObjectpublic boolean matchDecodeType(Type plainType)
CodesmatchDecodeType 在类中 Codes<Map<String,?>,byte[]>plainType - the type of plain objectthis#decode(Object, Type)public byte[] encode(Map<String,?> plainObj)
Codesencode 在类中 ObjectToBytesCodes<Map<String,?>>plainObj - plain object to be encodedCopyright © 2020. All rights reserved.