Serialized Form
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the ArrayList instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the ArrayList instance to a stream (that
is, serialize it).
- Serial Data:
- The length of the array backing the ArrayList
instance is emitted (int), followed by all of its elements
(each an Object) in the proper order.
size
int size
- The size of the ArrayList (the number of elements it contains).
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the HashMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the HashMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The capacity of the HashMap (the length of the
bucket array) is emitted (int), followed by the
size of the HashMap (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the HashMap
The key-value mappings are emitted in no particular order.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
-
loadFactor
float loadFactor
- The load factor for the hash table.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the HashSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of this HashSet instance to a stream (that is,
serialize this set).
- Serial Data:
- The capacity of the backing HashMap instance
(int), and its load factor (float) are emitted, followed by
the size of the set (the number of elements it contains)
(int), followed by all of its elements (each an Object) in
no particular order.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the Hashtable from a stream (i.e., deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the Hashtable to a stream (i.e., serialize it).
- Serial Data:
- The capacity of the Hashtable (the length of the
bucket array) is emitted (int), followed by the
size of the Hashtable (the number of key-value
mappings), followed by the key (Object) and value (Object)
for each key-value mapping represented by the Hashtable
The key-value mappings are emitted in no particular order.
threshold
int threshold
- The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
-
loadFactor
float loadFactor
- The load factor for the hashtable.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the IdentityHashMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the IdentityHashMap instance to a stream
(i.e., serialize it).
- Serial Data:
- The size of the HashMap (the number of key-value
mappings) (int), followed by the key (Object) and
value (Object) for each key-value mapping represented by the
IdentityHashMap. The key-value mappings are emitted in no
particular order.
size
int size
- The number of key-value mappings contained in this identity hash map.
-
accessOrder
boolean accessOrder
- The iteration ordering method for this linked hash map: true
for access-order, false for insertion-order.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute this LinkedList instance from a stream (that is
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of this LinkedList instance to a stream (that
is, serialize it).
- Serial Data:
- The size of the list (the number of elements it
contains) is emitted (int), followed by all of its
elements (each an Object) in the proper order.
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the TreeMap instance from a stream (i.e.,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the TreeMap instance to a stream (i.e.,
serialize it).
- Serial Data:
- The size of the TreeMap (the number of key-value
mappings) is emitted (int), followed by the key (Object)
and value (Object) for each key-value mapping represented
by the TreeMap. The key-value mappings are emitted in
key-order (as determined by the TreeMap's Comparator,
or by the keys' natural ordering if the TreeMap has no
Comparator).
comparator
java.util.Comparator<K> comparator
- The Comparator used to maintain order in this TreeMap, or
null if this TreeMap uses its elements natural ordering.
-
readObject
private void readObject(java.io.ObjectInputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Reconstitute the TreeSet instance from a stream (that is,
deserialize it).
writeObject
private void writeObject(java.io.ObjectOutputStream s)
throws java.io.IOException
- Save the state of the TreeSet instance to a stream (that is,
serialize it).
- Serial Data:
- Emits the comparator used to order this set, or
null if it obeys its elements' natural ordering
(Object), followed by the size of the set (the number of
elements it contains) (int), followed by all of its
elements (each an Object) in order (as determined by the
set's Comparator, or by the elements' natural ordering if
the set has no Comparator).
elementData
E[] elementData
- The array buffer into which the components of the vector are
stored. The capacity of the vector is the length of this array buffer,
and is at least large enough to contain all the vector's elements.
Any array elements following the last element in the Vector are null.
-
elementCount
int elementCount
- The number of valid components in this Vector object.
Components elementData[0] through
elementData[elementCount-1] are the actual items.
-
capacityIncrement
int capacityIncrement
- The amount by which the capacity of the vector is automatically
incremented when its size becomes greater than its capacity. If
the capacity increment is less than or equal to zero, the capacity
of the vector is doubled each time it needs to grow.
-