private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
int) of the deque,
followed by all of its elements (each an object reference) in
first-to-last order.IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionint size
Object[] a
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
BitSet instance from a stream (i.e.,
deserialize it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
BitSet instance to a stream (i.e.,
serialize it).IOExceptionlong[] bits
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
Calendar would only write out its state data and
the current time, and not write any field data out, such as
fields[], isTimeSet, areFieldsSet,
and isSet[]. nextStamp also should not be part
of the persistent state. Unfortunately, this didn't happen before JDK 1.1
shipped. To be compatible with JDK 1.1, we will always have to write out
the field values and state flags. However, nextStamp can be
removed from the serialization stream; this will probably happen in the
near future.IOExceptionint[] fields
FIELD_COUNT integers, with index values
ERA through DST_OFFSET.boolean[] isSet
FIELD_COUNT booleans, with index values
ERA through DST_OFFSET.long time
Calendar.isTimeSetboolean isTimeSet
time is valid.
The time is made invalid by a change to an item of field[].Calendar.timeboolean areFieldsSet
fields[] are in sync with the currently set time.
If false, then the next attempt to get the value of a field will
force a recomputation of all fields from the current value of
time.boolean lenient
True if this calendar allows out-of-range field values during computation
of time from fields[].Calendar.setLenient(boolean),
Calendar.isLenient()TimeZone zone
TimeZone used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time.int firstDayOfWeek
SUNDAY,
MONDAY, etc. This is a locale-dependent value.int minimalDaysInFirstWeek
int nextStamp
stamp[], an internal array.
This actually should not be written out to the stream, and will probably
be removed from the stream in the near future. In the meantime,
a value of MINIMUM_USER_STAMP should be used.int serialVersionOnStream
serialVersionOnStream
is written.Collection<E> c
Class<T> type
Object[] zeroLengthElementArray
int n
Object element
private Object readResolve()
private Object readResolve()
private Object readResolve()
private Object readResolve()
private Object readResolve()
Comparator<T> cmp
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionObject element
Object element
private void writeObject(ObjectOutputStream s) throws IOException
IOExceptionCollection<E> c
Object mutex
private Object readResolve()
private void writeObject(ObjectOutputStream s) throws IOException
IOExceptionprivate Object writeReplace()
Collection<E> c
private Object readResolve()
private Object writeReplace()
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
getTime()
is emitted (long). This represents the offset from
January 1, 1970, 00:00:00 GMT in milliseconds.IOExceptionString flags
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionString f
char c
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionlong gregorianCutover
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
HashMap instance from a stream (i.e.,
deserialize it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionint threshold
float loadFactor
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionint threshold
float loadFactor
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionint size
String flags
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
LinkedList instance from a stream
(that is, deserializes it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
LinkedList instance to a stream
(that is, serializes it).IOExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Locale.IOExceptionClassNotFoundExceptionIllformedLocaleExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
Locale to the specified ObjectOutputStream.IOExceptionprivate Object readResolve() throws ObjectStreamException
Locale instance equivalent to
the deserialized Locale. When serialized
language, country and variant fields read from the object data stream
are exactly "ja", "JP", "JP" or "th", "TH", "TH" and script/extensions
fields are empty, this method supplies UNICODE_LOCALE_EXTENSION
"ca"/"japanese" (calendar type is "japanese") or "nu"/"thai" (number script
type is "thai"). See Special Cases
for more information.ObjectStreamExceptionString country
String extensions
int hashcode
String language
String script
String variant
String s
String s
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
PriorityQueue instance from a stream
(that is, deserializes it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
Object) in the proper order.IOExceptionint size
Comparator<T> comparator
Properties defaults
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
Random instance from a stream (that is,
deserialize it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
Random instance to a stream.IOExceptionboolean haveNextNextGaussian
double nextNextGaussian
long seed
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
DOW_IN_MONTH_MODE rules, in the required section, followed
by the full rules, in packed format, in the optional section. The
optional section will be ignored by JDK 1.1 code upon stream in.
Contents of the optional section: The length of a byte array is
emitted (int); this is 4 as of this release. The byte array of the given
length is emitted. The contents of the byte array are the true values of
the fields startDay, startDayOfWeek,
endDay, and endDayOfWeek. The values of these
fields in the required section are approximate values suited to the rule
mode DOW_IN_MONTH_MODE, which is the only mode recognized by
JDK 1.1.
IOExceptionint startMonth
Calendar.JANUARY and
Calendar.DECEMBER inclusive. This value must not equal
endMonth.
If useDaylight is false, this value is ignored.
int startDay
startMode == DOW_IN_MONTHstartDay indicates the day of the month of
startMonth on which daylight
saving time starts, from 1 to 28, 30, or 31, depending on the
startMonth.
startMode != DOW_IN_MONTHstartDay indicates which startDayOfWeek in the
month startMonth daylight
saving time starts on. For example, a value of +1 and a
startDayOfWeek of Calendar.SUNDAY indicates the
first Sunday of startMonth. Likewise, +2 would indicate the
second Sunday, and -1 the last Sunday. A value of 0 is illegal.
If useDaylight is false, this value is ignored.
int startDayOfWeek
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
startMode == DAY_OF_MONTH, this value is ignored.
int startTime
startTimeMode.
If useDaylight is false, this value is ignored.
int startTimeMode
int endMonth
Calendar.JANUARY and
Calendar.UNDECIMBER. This value must not equal
startMonth.
If useDaylight is false, this value is ignored.
int endDay
endMode == DOW_IN_MONTHendDay indicates the day of the month of
endMonth on which daylight
saving time ends, from 1 to 28, 30, or 31, depending on the
endMonth.
endMode != DOW_IN_MONTHendDay indicates which endDayOfWeek in th
month endMonth daylight
saving time ends on. For example, a value of +1 and a
endDayOfWeek of Calendar.SUNDAY indicates the
first Sunday of endMonth. Likewise, +2 would indicate the
second Sunday, and -1 the last Sunday. A value of 0 is illegal.
If useDaylight is false, this value is ignored.
int endDayOfWeek
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
endMode == DAY_OF_MONTH, this value is ignored.
int endTime
endTimeMode.
If useDaylight is false, this value is ignored.
int endTimeMode
WALL_TIME,
STANDARD_TIME, or UTC_TIME.int startYear
AD
value. If this value is less than 1 then daylight saving time is observed
for all AD years.
If useDaylight is false, this value is ignored.
int rawOffset
dstSavings.boolean useDaylight
byte[] monthLength
int startMode
DOM_MODEDOW_IN_MONTH_MODEDOW_GE_DOM_MODEDOW_LE_DOM_MODEstartDay field.
If useDaylight is false, this value is ignored.
int endMode
DOM_MODEDOW_IN_MONTH_MODEDOW_GE_DOM_MODEDOW_LE_DOM_MODEendDay field.
If useDaylight is false, this value is ignored.
int dstSavings
If useDaylight is false, this value is ignored.
int serialVersionOnStream
startMode,
endMode, and dstSavings.
startTimeMode
and endTimeMode.
serialVersionOnStream
is written.String ID
TimeZone. This is a
programmatic identifier used internally to look up TimeZone
objects from the system table and also to map them to their localized
display names. ID values are unique in the system
table but may not be for dynamically created zones.private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TreeMap instance from a stream (i.e.,
deserialize it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
TreeMap instance to a stream (i.e.,
serialize it).IOExceptionComparator<T> comparator
Comparator<T> reverseComparator
TreeMap<K,V> m
Object lo
Object hi
boolean fromStart
boolean toEnd
boolean loInclusive
boolean hiInclusive
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TreeSet instance from a stream (that is,
deserialize it).IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
TreeSet instance to a stream (that is,
serialize it).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).IOExceptionString s
String flags
private void writeObject(ObjectOutputStream s) throws IOException
Vector instance to a stream (that
is, serialize it).
This method performs synchronization to ensure the consistency
of the serialized data.IOExceptionObject[] elementData
Any array elements following the last element in the Vector are null.
int elementCount
Vector object.
Components elementData[0] through
elementData[elementCount-1] are the actual items.int capacityIncrement
Object[] items
int takeIndex
int putIndex
int count
ReentrantLock lock
Condition notEmpty
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
ConcurrentHashMap instance to a
stream (i.e., serializes it).IOExceptionObject value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
E) in
the proper order, followed by a nullIOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
E) in
the proper order, followed by a nullIOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
null. The key-value mappings are emitted in key-order
(as determined by the Comparator, or by the keys' natural
ordering if no Comparator).IOExceptionComparator<T> comparator
ConcurrentSkipListMap<K,V> m
Object lo
Object hi
boolean loInclusive
boolean hiInclusive
boolean isDescending
ConcurrentNavigableMap<K,V> m
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionCopyOnWriteArrayList<E> al
CountedCompleter<T> completer
int pending
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
null if noneIOExceptionint status
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
Object) in the proper order, followed by a nullIOExceptionint capacity
ReentrantLock lock
Condition notEmpty
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
Object) in the proper order,
followed by a nullIOExceptionint capacity
AtomicInteger count
ReentrantLock takeLock
Condition notEmpty
ReentrantLock putLock
Condition notFull
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
E) in
the proper order, followed by a nullIOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionReentrantLock lock
Condition notEmpty
PriorityQueue<E> q
Object result
java.util.concurrent.Semaphore.Sync sync
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionReentrantLock qlock
java.util.concurrent.SynchronousQueue.WaitQueue waitingProducers
java.util.concurrent.SynchronousQueue.WaitQueue waitingConsumers
private void writeObject(ObjectOutputStream out) throws IOException
ThreadLocalRandom to a stream (that is, serializes it).IOExceptionprivate Object readResolve()
current thread's ThreadLocalRandom.boolean initialized
long rnd
Object value
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException, InvalidObjectException
Object[] array
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionDoubleBinaryOperator function
long identity
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionprivate void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionLongBinaryOperator function
long identity
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream s) throws IOException
IOExceptionjava.util.concurrent.locks.ReentrantLock.Sync sync
ReentrantReadWriteLock.ReadLock readerLock
ReentrantReadWriteLock.WriteLock writerLock
java.util.concurrent.locks.ReentrantReadWriteLock.Sync sync
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundException