when i try to call function which return : List<Map.Entry<Integer, List<Object>>>
I get this error :
java.io.NotSerializableException: java.util.HashMap$Node
Note : All class implements Serializable
HasMap
itself is serializable but Map.Entry
isn't. You need to use some other type.
For curious there is explanation why,
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.