|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Serialized Form
serialVersionUID: -8680016352018427031L
serialVersionUID: 6433858223774886977L
serialVersionUID: 301077366599181567L
Serialization Methods
readObject
private void readObject |
|
throws |
|
readObject is called to restore this filename.
The original separator character is read. If it is different
than the separator character on this system, then the old separator
is replaced by the local separator.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
WriteObject is called to save this filename.
The separator character is saved also so it can be replaced
in case the path is reconstituted on a different host type.
Serial Data:
Default fields followed by separator character.
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
Serialized Fields
path
This abstract pathname's normalized pathname string. A normalized
pathname string uses the default name-separator character and does not
contain any duplicate or redundant separators.
serialVersionUID: -897856973823710492L
serialVersionUID: 4020568460727500567L
Serialized Fields
bytesTransferred
public int bytesTransferred
Reports how many bytes had been transferred as part of the I/O
operation before it was interrupted.
serialVersionUID: -4333316296251054416L
Serialized Fields
classname
Name of the invalid class.
Serialization:
Name of the invalid class.
serialVersionUID: 3233174318281839583L
serialVersionUID: 67100927991680413L
serialVersionUID: 7818375828146090155L
serialVersionUID: -3893467273049808895L
serialVersionUID: 2906642554793891381L
serialVersionUID: -6120832682080437368L
Serialization Overview
ObjectStreamClass has no fields for default serialization.
serialVersionUID: 7260898174833392607L
serialVersionUID: -8011121865681257820L
Serialized Fields
eof
public boolean eof
True if there is no more data in the buffered part of the stream.
length
public int length
The number of bytes of primitive data available to be read
in the current buffer.
serialVersionUID: 8537212141160296410L
Serialized Fields
actions
serialVersionUID: 8983558202217591746L
serialVersionUID: -2353342684412443330L
serialVersionUID: -8134305061645241065L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Called to read the object from a stream.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
serialVersionUID: -4274276298326136670L
serialVersionUID: 420743449228280612L
serialVersionUID: -3326426625597282442L
Serialized Fields
detail
Deprecated. This field predates the general-purpose exception
chaining facility. The Throwable.getCause() method is
now the preferred means of obtaining this information.
Exception that was caught while writing the ObjectStream.
serialVersionUID: -1654391082989018462L
serialVersionUID: -4256701562333669892L
serialVersionUID: 8125925355765570191L
Serialized Fields
foundType
private final
String foundType
The (erroneous) type of data found in the annotation. This string
may, but is not required to, contain the value as well. The exact
format of the string is unspecified.
serialVersionUID: 8445097402741811912L
Serialized Fields
annotationType
The annotation interface.
elementName
The element name.
serialVersionUID: 2256477558314496007L
serialVersionUID: -5116101128118950844L
serialVersionUID: -4522193890499838241L
serialVersionUID: -5013299493970297370L
serialVersionUID: -3665804199014368530L
Serialized Fields
value
private final boolean value
The value of the Boolean.
serialVersionUID: 292L
serialVersionUID: -7183698231559129828L
Serialized Fields
value
private final byte value
The value of the Byte.
serialVersionUID: 3786198910865385080L
Serialized Fields
value
private final char value
The value of the Character.
serialVersionUID: 3206093459760846163L
Serialization Overview
Class Class is special cased within the Serialization Stream Protocol.
A Class instance is written initially into an ObjectOutputStream in the
following format:
TC_CLASS ClassDescriptor
A ClassDescriptor is a special cased serialization of
a java.io.ObjectStreamClass instance.
A new handle is generated for the initial time the class descriptor
is written into the stream. Future references to the class descriptor
are written as references to the initial class descriptor instance.
See Also:
serialVersionUID: -9223365651070458532L
serialVersionUID: 1054362542914539689L
serialVersionUID: -8420114879011949195L
serialVersionUID: 9176873029745254542L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes the ClassNotFoundException instance from a stream
and initialize the cause properly when deserializing from an older
version.
The getException and getCause method returns the private "ex" field
in the older implementation and ClassNotFoundException::cause
was set to null.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
To maintain compatibility with older implementation, write a serial
"ex" field with the cause as the value.
Parameters:
out - the ObjectOutputStream to which data is written
Throws:
Serialization Overview
Serializable fields for ClassNotFoundException.
Serialized Fields
ex
the Throwable
serialVersionUID: 5195511250079656443L
serialVersionUID: -9172774392245257468L
Serialized Fields
value
private final double value
The value of the Double.
serialVersionUID: -6046998521960521108L
Serialized Fields
constantName
The name of the missing enum constant.
enumType
The type of the missing enum constant.
serialVersionUID: 4980196508277280342L
serialVersionUID: -3387516993124229948L
serialVersionUID: 1521711792217232256L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes the ExceptionInInitializerError instance from a stream
and initialize the cause properly when deserializing from an older
version.
The getException and getCause method returns the private "exception"
field in the older implementation and ExceptionInInitializerError::cause
was set to null.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
To maintain compatibility with older implementation, write a serial
"exception" field with the cause as the value.
Parameters:
out - the ObjectOutputStream to which data is written
Throws:
Serialization Overview
Serializable fields for ExceptionInInitializerError.
Serialized Fields
exception
the exception
serialVersionUID: -2671257302660747028L
Serialized Fields
value
private final float value
The value of the Float.
serialVersionUID: -8988904074992417891L
serialVersionUID: 6616958222490762034L
serialVersionUID: -5365630128856068164L
serialVersionUID: -2349421918363102232L
serialVersionUID: 3713306369498869069L
serialVersionUID: -1848914673093119416L
serialVersionUID: -7626246362397460174L
serialVersionUID: -4914975503642802119L
serialVersionUID: 234122996006267687L
serialVersionUID: -4885810657349421204L
serialVersionUID: -8441929162975509110L
serialVersionUID: 1360826667806852920L
Serialized Fields
value
private final int value
The value of the Integer.
serialVersionUID: -9062593416125562365L
serialVersionUID: 6700697376100628473L
serialVersionUID: -906239691613568347L
serialVersionUID: 3579600108157160122L
serialVersionUID: 4290774380558885855L
Serialized Fields
value
private final long value
The value of the Long.
serialVersionUID: -8960118058596991861L
serialVersionUID: 9095859863287012458L
serialVersionUID: -3456430195886129035L
serialVersionUID: -6143714805279938260L
serialVersionUID: -3765521442372831335L
serialVersionUID: 5034388446362600923L
serialVersionUID: 5162710183389028792L
serialVersionUID: -8742448824652078965L
serialVersionUID: -2848938806368998894L
serialVersionUID: 8228564086184010517L
serialVersionUID: 123456789L
serialVersionUID: -7034897190745766939L
serialVersionUID: 7399184964622342223L
serialVersionUID: 6878364983674394167L
serialVersionUID: 7515723908773894738L
Serialized Fields
value
private final short value
The value of the Short.
serialVersionUID: 8609175038441759607L
serialVersionUID: 6992337162326171013L
Serialized Fields
classLoaderName
private
String classLoaderName
The name of the class loader.
declaringClass
The declaring class.
fileName
The source file name.
format
private byte format
Control to show full or partial module, package, and class names.
lineNumber
private int lineNumber
The source line number.
methodName
The method name.
moduleName
The module name.
moduleVersion
The module version.
serialVersionUID: -6849794470754667710L
Serialization Overview
serialVersionUID: 3388685877147921107L
Serialization Methods
readObject
private void readObject |
|
throws |
|
The
readObject method is called to restore the state of the
StringBuffer from a stream.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
The
writeObject method is called to write the state of the
StringBuffer to a stream.
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
Serialization Overview
Serializable fields for StringBuffer.
Serialized Fields
count
int count
The number of characters in this StringBuffer.
shared
boolean shared
A flag indicating whether the backing array is shared.
The value is ignored upon deserialization.
value
char[] value
The backing character array of this StringBuffer.
serialVersionUID: 4383685877147921099L
Serialization Methods
readObject
private void readObject |
|
throws |
|
readObject is called to restore the state of the StringBuilder from
a stream.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of the
StringBuilder instance to a stream
(that is, serialize it).
Serial Data:
the number of characters currently stored in the string
builder (int), followed by the characters in the
string builder (char[]). The length of the
char array may be greater than the number of
characters currently stored in the string builder, in which
case extra characters are ignored.
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
serialVersionUID: -6762910422159637258L
serialVersionUID: -4417128565033088268L
serialVersionUID: -3042686055658047285L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reads a
Throwable from a stream, enforcing
well-formedness constraints on fields. Null entries and
self-pointers are not allowed in the list of
suppressedExceptions. Null entries are not allowed for stack
trace elements. A null stack trace in the serial form results
in a zero-length stack element array. A single-element stack
trace whose entry is equal to
new StackTraceElement("",
"", null, Integer.MIN_VALUE) results in a
null
stackTrace field.
Note that there are no constraints on the value the
cause field can hold; both
null and
this are
valid values for the field.
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
Write a
Throwable object to a stream.
A
null stack trace field is represented in the serial
form as a one-element array whose element is equal to
new StackTraceElement("", "", null, Integer.MIN_VALUE).
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
Serialized Fields
cause
The throwable that caused this throwable to get thrown, or null if this
throwable was not caused by another throwable, or if the causative
throwable is unknown. If this field is equal to this throwable itself,
it indicates that the cause of this throwable has not yet been
initialized.
Since:
1.4
detailMessage
Specific details about the Throwable. For example, for
FileNotFoundException, this contains the name of
the file that could not be found.
stackTrace
suppressedExceptions
The list of suppressed exceptions, as returned by
Throwable.getSuppressed(). The list is initialized to a zero-element
unmodifiable sentinel list. When a serialized Throwable is
read in, if the
suppressedExceptions field points to a
zero-element list, the field is reset to the sentinel value.
Since:
1.7
serialVersionUID: -5101214195716534496L
Serialized Fields
typeName
The type name.
serialVersionUID: 2524784860676771849L
serialVersionUID: -4019343241616879428L
serialVersionUID: -7123279212883497373L
serialVersionUID: -1242599979055084673L
serialVersionUID: 7001962396098498785L
serialVersionUID: 4161983926571568670L
serialVersionUID: -8499721149061103585L
Serialized Fields
key
value
serialVersionUID: 7138329143949025153L
Serialized Fields
key
value
serialVersionUID: 2340985798034038923L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this deque to a stream (that is, serializes it).
Serial Data:
The current size (int) of the deque,
followed by all of its elements (each an object reference) in
first-to-last order.
Parameters:
s - the stream
Throws:
serialVersionUID: 8683452581122892189L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes the
ArrayList instance from a stream (that is,
deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves the state of the
ArrayList instance to a stream
(that is, serializes 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.
Parameters:
s - the stream
Throws:
Serialized Fields
size
private int size
The size of the ArrayList (the number of elements it contains).
serialVersionUID: 7997698588986878753L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
BitSet instance from a stream (i.e.,
deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of the
BitSet instance to a stream (i.e.,
serialize it).
Throws:
Serialized Fields
bits
long[] bits
The bits in this BitSet. The ith bit is stored in bits[i/64] at
bit position i % 64 (where bit position 0 refers to the least
significant bit and 63 refers to the most significant bit).
serialVersionUID: -1807547505821590642L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this object from a stream (i.e., deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of this object to a stream (i.e., serialize it).
Ideally,
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.
Throws:
Serialized Fields
areFieldsSet
protected boolean areFieldsSet
True if 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.
fields
protected int[] fields
The calendar field values for the currently set time for this calendar.
This is an array of FIELD_COUNT integers, with index values
ERA through DST_OFFSET.
firstDayOfWeek
private int firstDayOfWeek
The first day of the week, with possible values SUNDAY,
MONDAY, etc. This is a locale-dependent value.
isSet
protected boolean[] isSet
The flags which tell if a specified calendar field for the calendar is set.
A new object has no fields set. After the first call to a method
which generates the fields, they all remain set after that.
This is an array of FIELD_COUNT booleans, with index values
ERA through DST_OFFSET.
isTimeSet
protected boolean isTimeSet
True if then the value of
time is valid.
The time is made invalid by a change to an item of
field[].
See Also:
lenient
private boolean lenient
True if this calendar allows out-of-range field values during computation
of
time from
fields[].
See Also:
minimalDaysInFirstWeek
private int minimalDaysInFirstWeek
The number of days required for the first week in a month or year,
with possible values from 1 to 7. This is a locale-dependent value.
nextStamp
private int nextStamp
The next available value for 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.
serialVersionOnStream
private int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
- 0 or not present on stream
-
JDK 1.1.5 or earlier.
- 1
-
JDK 1.1.6 or later. Writes a correct 'time' value
as well as compatible values for other fields. This is a
transitional format.
When streaming out this class, the most recent format
and the highest allowable
serialVersionOnStream
is written.
Since:
1.1.6
time
protected long time
The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.
See Also:
zone
The TimeZone used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time.
serialVersionUID: -817911632652898426L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
Serialized Fields
count
int count
Number of elements in the queue
items
The queued items
lock
Main lock guarding all access
notEmpty
Condition for waiting takes
notFull
Condition for waiting puts
putIndex
int putIndex
items index for next put, offer, or add
takeIndex
int takeIndex
items index for next take, poll, peek or remove
serialVersionUID: 7117394618823254244L
serialVersionUID: -9202173006928992231L
serialVersionUID: 7830266012832686185L
serialVersionUID: 7249069246763182397L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this map to a stream (that is, serializes it).
Serial Data:
the serialized fields, followed by the key (Object) and value
(Object) for each key-value mapping, followed by a null pair.
The key-value mappings are emitted in no particular order.
Parameters:
s - the stream
Throws:
Serialization Overview
Serialized pseudo-fields, provided only for jdk7 compatibility.
Serialized Fields
segmentMask
int segmentMask
Mask value for indexing into segments. The upper bits of a
key's hash code are used to choose the segment.
segments
Segment[] segments
The segments, each of which is a specialized hash table.
segmentShift
int segmentShift
Shift value for indexing within segments.
serialVersionUID: 7249069246763182397L
Serialized Fields
value
serialVersionUID: 876323262645176354L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this deque to a stream (that is, serializes it).
Serial Data:
All of the elements (each an E) in
the proper order, followed by a null
Parameters:
s - the stream
Throws:
serialVersionUID: 196745693267521676L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
Serial Data:
All of the elements (each an E) in
the proper order, followed by a null
Parameters:
s - the stream
Throws:
serialVersionUID: -8627078645895051609L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this map to a stream (that is, serializes it).
Serial Data:
The key (Object) and value (Object) for each
key-value mapping represented by the map, followed by
null. The key-value mappings are emitted in key-order
(as determined by the Comparator, or by the keys' natural
ordering if no Comparator).
Parameters:
s - the stream
Throws:
Serialized Fields
comparator
The comparator used to maintain order in this map, or null if
using natural ordering. (Non-private to simplify access in
nested classes.)
serialVersionUID: -2479143111061671589L
Serialized Fields
m
The underlying map. Uses Boolean.TRUE as value for each
element. This field is declared final for the sake of thread
safety, which entails some ugliness in clone().
serialVersionUID: 8673264195747942595L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this list from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this list to a stream (that is, serializes it).
Serial Data:
The length of the array backing the list is emitted
(int), followed by all of its elements (each an Object)
in the proper order.
Parameters:
s - the stream
Throws:
serialVersionUID: 5457747651344034263L
Serialized Fields
al
serialVersionUID: 5232453752276485070L
Serialized Fields
completer
This task's completer, or null if none
pending
volatile int pending
The number of pending tasks until completion
serialVersionUID: 7830266012832686185L
serialVersionUID: -7721805057305804111L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this task from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this task to a stream (that is, serializes it).
Serial Data:
the current run status and the exception thrown
during execution, or null if none
Parameters:
s - the stream
Throws:
Serialized Fields
status
volatile int status
serialVersionUID: -387911632671998426L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this deque to a stream (that is, serializes it).
Serial Data:
The capacity (int), followed by elements (each an
Object) in the proper order, followed by a null
Parameters:
s - the stream
Throws:
Serialized Fields
capacity
private final int capacity
Maximum number of items in the deque
lock
Main lock guarding all access
notEmpty
Condition for waiting takes
notFull
Condition for waiting puts
serialVersionUID: -6903933977591709194L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
Serial Data:
The capacity is emitted (int), followed by all of
its elements (each an Object) in the proper order,
followed by a null
Parameters:
s - the stream
Throws:
Serialized Fields
capacity
private final int capacity
The capacity bound, or Integer.MAX_VALUE if none
count
Current number of elements
notEmpty
Wait queue for waiting takes
notFull
Wait queue for waiting puts
putLock
Lock held by put, offer, etc
takeLock
Lock held by take, poll, etc
serialVersionUID: -3223113410248163686L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
Serial Data:
All of the elements (each an E) in
the proper order, followed by a null
Parameters:
s - the stream
Throws:
serialVersionUID: 5595510919245408276L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
For compatibility with previous version of this class, elements
are first copied to a java.util.PriorityQueue, which is then
serialized.
Parameters:
s - the stream
Throws:
Serialized Fields
lock
Lock used for all public operations.
notEmpty
Condition for blocking when empty.
q
A plain PriorityQueue used only for serialization,
to maintain compatibility with previous versions
of this class. Non-null only during serialization/deserialization.
serialVersionUID: 5232453952276485070L
serialVersionUID: 5232453952276485270L
Serialized Fields
result
The result of the computation.
serialVersionUID: -375805702767069545L
serialVersionUID: -3222578661600680210L
Serialized Fields
sync
All mechanics via AbstractQueuedSynchronizer subclass
serialVersionUID: -3223113410248163686L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
Parameters:
s - the stream
Throws:
Serialized Fields
qlock
waitingConsumers
waitingProducers
serialVersionUID: -5851777807851030925L
Serialization Methods
readResolve
Returns the
current thread's
ThreadLocalRandom.
Returns:
the
current thread's
ThreadLocalRandom
writeObject
private void writeObject |
|
throws |
|
Saves the
ThreadLocalRandom to a stream (that is, serializes it).
Parameters:
s - the stream
Throws:
Serialized Fields
initialized
boolean initialized
always true
rnd
long rnd
seed for random computations
serialVersionUID: 1900926677490660714L
serialVersionUID: -3666751008965953603L
serialVersionUID: -158308464356906721L
Serialization Methods
readResolve
Resolves instances being deserialized to a single instance per currency.
Serialized Fields
currencyCode
private final
String currencyCode
ISO 4217 currency code for this currency.
serialVersionUID: 7523967970034938905L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute this object from a stream (i.e., deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of this object to a stream (i.e., serialize it).
Serial Data:
The value returned by getTime()
is emitted (long). This represents the offset from
January 1, 1970, 00:00:00 GMT in milliseconds.
Throws:
serialVersionUID: 18890531L
Serialized Fields
flags
serialVersionUID: 5084686378493302095L
serialVersionUID: 458661240069192865L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
EnumMap instance from a stream (i.e.,
deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of the
EnumMap instance to a stream (i.e.,
serialize it).
Serial Data:
The size of the enum map (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 enum map.
Throws:
Serialized Fields
keyType
private final
Class<
K>
keyType
The Class object for the enum type of all the keys of this map.
serialVersionUID: 1009687484059888093L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Throws
InvalidObjectException.
Parameters:
s - the stream
Throws:
readObjectNoData
private void readObjectNoData |
()
|
throws |
|
Throws
InvalidObjectException.
Throws:
writeReplace
serialVersionUID: 5516075349620653480L
serialVersionUID: 19120414L
Serialized Fields
c
private char c
f
serialVersionUID: 18111216L
serialVersionUID: -8125100834729963327L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Updates internal state.
Throws:
Serialized Fields
gregorianCutover
private long gregorianCutover
The point at which the Gregorian calendar rules are used, measured in
milliseconds from the standard epoch. Default is October 15, 1582
(Gregorian) 00:00:00 UTC or -12219292800000L. For this value, October 4,
1582 (Julian) is followed by October 15, 1582 (Gregorian). This
corresponds to Julian day number 2299161.
serialVersionUID: 362498820763181265L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this map to a stream (that is, serializes it).
Serial Data:
The capacity of the HashMap (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.
Parameters:
s - the stream
Throws:
Serialized Fields
loadFactor
final float loadFactor
The load factor for the hash table.
threshold
int threshold
The next size value at which to resize (capacity * load factor).
serialVersionUID: -5024744406713321676L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
HashSet instance from a stream (that is,
deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of this
HashSet instance to a stream (that is,
serialize it).
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.
Throws:
serialVersionUID: 1421746759512286392L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the Hashtable from a stream (i.e., deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
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.
Throws:
Serialized Fields
loadFactor
private float loadFactor
The load factor for the hashtable.
threshold
private int threshold
The table is rehashed when its size exceeds this threshold. (The
value of this field is (int)(capacity * loadFactor).)
serialVersionUID: 8188218128353913216L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes the
IdentityHashMap instance from a stream (i.e.,
deserializes it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves the state of the
IdentityHashMap instance to a stream
(i.e., serializes 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.
Throws:
Serialized Fields
size
int size
The number of key-value mappings contained in this identity hash map.
serialVersionUID: 19080630L
Serialized Fields
c
private int c
serialVersionUID: 17000126L
Serialized Fields
arg
c
private char c
serialVersionUID: 18830826L
serialVersionUID: 790824L
Serialized Fields
flags
serialVersionUID: 18711008L
Serialized Fields
p
private int p
serialVersionUID: 16660902L
Serialized Fields
w
private int w
serialVersionUID: -5245986824925681401L
Serialized Fields
_errIdx
private int _errIdx
serialVersionUID: 8811230760997066428L
serialVersionUID: 3801124242820219131L
Serialized Fields
accessOrder
final boolean accessOrder
The iteration ordering method for this linked hash map: true
for access-order, false for insertion-order.
serialVersionUID: -2851667679971038690L
serialVersionUID: 876323262645176354L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes this
LinkedList instance from a stream
(that is, deserializes it).
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves the state of this
LinkedList instance to a stream
(that is, serializes 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.
Throws:
serialVersionUID: 9149081749638150636L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Deserializes this
Locale.
Parameters:
in - the ObjectInputStream to read
Throws:
Since:
1.7
readResolve
Returns a cached
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.
Returns:
an instance of Locale equivalent to
the deserialized Locale.
Throws:
writeObject
private void writeObject |
|
throws |
|
Serializes this
Locale to the specified
ObjectOutputStream.
Parameters:
out - the ObjectOutputStream to write
Throws:
Since:
1.7
Serialized Fields
country
extensions
canonical representation of extensions, that is,
BCP47 extensions in alphabetical order followed by
BCP47 private use subtags, all in lower case letters
separated by HYPHEN-MINUS characters.
(See
getExtensionKeys(),
getExtension(char))
hashcode
int hashcode
deprecated, for forward compatibility only
language
script
variant
variant subtags separated by LOWLINE characters.
(See
getVariant())
serialVersionUID: 19190115L
Serialized Fields
s
serialVersionUID: 15560123L
Serialized Fields
s
serialVersionUID: -4876345176062000401L
Serialized Fields
className
The class name of the resource bundle requested by the user.
key
The name of the specific resource requested by the user.
serialVersionUID: 6769829250639411880L
serialVersionUID: -7720805057305804111L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitutes the
PriorityQueue instance from a stream
(that is, deserializes it).
Parameters:
s - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves this queue to a stream (that is, serializes it).
Serial Data:
The length of the array backing the instance is
emitted (int), followed by all of its elements
(each an Object) in the proper order.
Parameters:
s - the stream
Throws:
Serialized Fields
comparator
The comparator, or null if priority queue uses elements'
natural ordering.
size
int size
The number of elements in the priority queue.
serialVersionUID: 4112578634029874840L
Serialized Fields
defaults
A property list that contains default values for any keys not
found in this property list.
serialVersionUID: 3905348978240129619L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
Random instance from a stream (that is,
deserialize it).
Parameters:
s - the ObjectInputStream from which data is read
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the
Random instance to a stream.
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
Serialization Overview
Serializable fields for Random.
Serialized Fields
haveNextNextGaussian
boolean haveNextNextGaussian
nextNextGaussian is valid
nextNextGaussian
double nextNextGaussian
next Gaussian to be returned
seed
long seed
seed for random computations
serialVersionUID: 74132770414881L
serialVersionUID: -403250971215465050L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute this object from a stream (i.e., deserialize it).
We handle both JDK 1.1
binary formats and full formats with a packed byte array.
Throws:
writeObject
private void writeObject |
|
throws |
|
Save the state of this object to a stream (i.e., serialize it).
Serial Data:
We write out two formats, a JDK 1.1 compatible format, using
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.
Throws:
Serialized Fields
dstSavings
private int dstSavings
A positive value indicating the amount of time saved during DST in
milliseconds.
Typically one hour (3600000); sometimes 30 minutes (1800000).
If useDaylight is false, this value is ignored.
Since:
1.1.4
endDay
private int endDay
This field has two possible interpretations:
- endMode == DOW_IN_MONTH
-
endDay 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_MONTH
-
endDay 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.
endDayOfWeek
private int endDayOfWeek
The day of the week on which daylight saving time ends. This value
must be between
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
endMode == DAY_OF_MONTH, this value is ignored.
endMode
private int endMode
Variables specifying the mode of the end rule. Takes the following
values:
- DOM_MODE
-
Exact day of week; e.g., March 1.
- DOW_IN_MONTH_MODE
-
Day of week in month; e.g., last Sunday in March.
- DOW_GE_DOM_MODE
-
Day of week after day of month; e.g., Sunday on or after March 15.
- DOW_LE_DOM_MODE
-
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the
endDay field.
If useDaylight is false, this value is ignored.
Since:
1.1.4
endMonth
private int endMonth
The month in which daylight saving time ends. This value must be
between
Calendar.JANUARY and
Calendar.UNDECIMBER. This value must not equal
startMonth.
If useDaylight is false, this value is ignored.
endTime
private int endTime
The time in milliseconds after midnight at which daylight saving
time ends. This value is expressed as wall time, standard time,
or UTC time, depending on the setting of
endTimeMode.
If useDaylight is false, this value is ignored.
endTimeMode
private int endTimeMode
The format of endTime, either
WALL_TIME,
STANDARD_TIME, or
UTC_TIME.
Since:
1.3
monthLength
private final byte[] monthLength
This field was serialized in JDK 1.1, so we have to keep it that way
to maintain serialization compatibility. However, there's no need to
recreate the array each time we create a new time zone.
Serialization:
An array of bytes containing the values {31, 28, 31, 30, 31, 30,
31, 31, 30, 31, 30, 31}. This is ignored as of the Java 2 platform v1.2, however, it must
be streamed out for compatibility with JDK 1.1.
rawOffset
private int rawOffset
The offset in milliseconds between this zone and GMT. Negative offsets
are to the west of Greenwich. To obtain local standard time,
add the offset to GMT time. To obtain local wall time it may also be
necessary to add dstSavings.
serialVersionOnStream
private int serialVersionOnStream
The version of the serialized data on the stream. Possible values:
- 0 or not present on stream
-
JDK 1.1.3 or earlier.
- 1
-
JDK 1.1.4 or later. Includes three new fields: startMode,
endMode, and dstSavings.
- 2
-
JDK 1.3 or later. Includes two new fields: startTimeMode
and endTimeMode.
When streaming out this class, the most recent format
and the highest allowable
serialVersionOnStream
is written.
Since:
1.1.4
startDay
private int startDay
This field has two possible interpretations:
- startMode == DOW_IN_MONTH
-
startDay 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_MONTH
-
startDay 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.
startDayOfWeek
private int startDayOfWeek
The day of the week on which daylight saving time starts. This value
must be between
Calendar.SUNDAY and
Calendar.SATURDAY inclusive.
If useDaylight is false or
startMode == DAY_OF_MONTH, this value is ignored.
startMode
private int startMode
Variables specifying the mode of the start rule. Takes the following
values:
- DOM_MODE
-
Exact day of week; e.g., March 1.
- DOW_IN_MONTH_MODE
-
Day of week in month; e.g., last Sunday in March.
- DOW_GE_DOM_MODE
-
Day of week after day of month; e.g., Sunday on or after March 15.
- DOW_LE_DOM_MODE
-
Day of week before day of month; e.g., Sunday on or before March 15.
The setting of this field affects the interpretation of the
startDay field.
If useDaylight is false, this value is ignored.
Since:
1.1.4
startMonth
private int startMonth
The month in which daylight saving time starts. This value must be
between
Calendar.JANUARY and
Calendar.DECEMBER inclusive. This value must not equal
endMonth.
If useDaylight is false, this value is ignored.
startTime
private int startTime
The time in milliseconds after midnight at which daylight saving
time starts. This value is expressed as wall time, standard time,
or UTC time, depending on the setting of
startTimeMode.
If useDaylight is false, this value is ignored.
startTimeMode
private int startTimeMode
The format of startTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.
Since:
1.3
startYear
private int startYear
The year in which daylight saving time is first observed. This is an
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.
useDaylight
private boolean useDaylight
A boolean value which is true if and only if this zone uses daylight
saving time. If this value is false, several other fields are ignored.
serialVersionUID: 1224463164541339165L
serialVersionUID: 3581463369166924961L
Serialized Fields
ID
The string identifier of this 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.
serialVersionUID: 5074640544770687831L
serialVersionUID: 919286545866124006L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
TreeMap instance from a stream (i.e.,
deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
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).
Throws:
Serialized Fields
comparator
The comparator used to maintain order in this tree map, or
null if it uses the natural ordering of its keys.
serialVersionUID: -2479143000061671589L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Reconstitute the
TreeSet instance from a stream (that is,
deserialize it).
Throws:
writeObject
private void writeObject |
|
throws |
|
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).
Throws:
serialVersionUID: 19060418L
Serialized Fields
s
serialVersionUID: 19370506L
Serialized Fields
flags
serialVersionUID: -4856846361193249489L
Serialized Fields
leastSigBits
private final long leastSigBits
mostSigBits
private final long mostSigBits
serialVersionUID: -2767605614048989439L
Serialization Methods
readObject
private void readObject |
|
throws |
|
Loads a
Vector instance from a stream
(that is, deserializes it).
This method performs checks to ensure the consistency
of the fields.
Parameters:
in - the stream
Throws:
writeObject
private void writeObject |
|
throws |
|
Saves the state of the
Vector instance to a stream
(that is, serializes it).
This method performs synchronization to ensure the consistency
of the serialized data.
Parameters:
s - the stream
Throws:
Serialized Fields
capacityIncrement
protected 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.
elementCount
protected int elementCount
The number of valid components in this Vector object.
Components elementData[0] through
elementData[elementCount-1] are the actual items.
elementData
protected
Object[]
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.
serialVersionUID: 653231525876459057L
|
FlexDoc/Javadoc 2.0 Demo Java Doc |
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch,
FlexDoc/Javadoc may be the only tool able to help you! Find out more at
www.flexdoc.xyz