Serialized Form
Package com.alibaba.fastjson |
serialVersionUID: 1L
list
List<E> list
serialVersionUID: 1L
serialVersionUID: 1L
map
Map<K,V> map
Package com.alibaba.fastjson.asm |
serialVersionUID: 1L
Package com.alibaba.fastjson.util |
serialVersionUID: 362498820763181265L
readObject
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
- Reconstitute the SafelyHashMap instance from a stream (i.e.,
deserialize it).
- Throws:
IOException
ClassNotFoundException
writeObject
private void writeObject(ObjectOutputStream s)
throws IOException
- Save the state of the SafelyHashMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The capacity of the SafelyHashMap (the length of the
bucket array) is emitted (int), followed by the size
(an int, the number of key-value mappings), followed by the
key (Object) and value (Object) for each key-value mapping.
The key-value mappings are emitted in no particular order.
- Throws:
IOException
threshold
int threshold
- The next size value at which to resize (capacity * load factor).
-
loadFactor
float loadFactor
- The load factor for the hash table.
-
random
int random
Copyright © 2012
Alibaba Group. All Rights Reserved.