bdata

id

consumed

boolean consumed

Controls whether or not the event is sent back down to the peer once the
source has processed it - false means it's sent to the peer; true means
it's not. Semantic events always have a 'true' value since they were
generated by the peer in response to a low-level event.

firstLine

A relative positioning constant, that can be used instead of
north, south, east, west or center.
mixing the two types of constants can lead to unpredicable results. If
you use both types, the relative constants will take precedence.
For example, if you add components using both the NORTH
and BEFORE_FIRST_LINE constants in a container whose
orientation is LEFT_TO_RIGHT, only the
BEFORE_FIRST_LINE will be layed out.
This will be the same for lastLine, firstItem, lastItem.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ActionListeners
as optional data. The non-serializable
ActionListeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0 or
more pairs: the pair consists of a String
and an Object; the String
indicates the type of object and is one of the following:
actionListenerK indicating an
ActionListener object

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener object

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of
0 or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener object

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ItemListeners
as optional data. The non-serializable
ItemListeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
itemListenerK indicating an
ItemListener object

value

frgbvalue

float[] frgbvalue

The color value in the default sRGB ColorSpace as
float components (no alpha).
If null after object construction, this must be an
sRGB color constructed with 8-bit precision, so compute from the
int color value.

fvalue

float[] fvalue

The color value in the native ColorSpace as
float components (no alpha).
If null after object construction, this must be an
sRGB color constructed with 8-bit precision, so compute from the
int color value.

writeObject

Writes default serializable fields to stream. Writes
a variety of serializable listeners as optional data.
The non-serializable listeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of
0 or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following (as of 1.4):
componentListenerK indicating an
ComponentListener object;
focusListenerK indicating an
FocusListener object;
keyListenerK indicating an
KeyListener object;
mouseListenerK indicating an
MouseListener object;
mouseMotionListenerK indicating an
MouseMotionListener object;
inputListenerK indicating an
InputListener object;
hierarchyListenerK indicating an
HierarchyListener object;
hierarchyBoundsListenerK indicating an
HierarchyBoundsListener object;
mouseWheelListenerK indicating an
MouseWheelListener object, an optional ComponentOrientation
(after inputMethodListener, as of 1.2)

isFocusTraversableOverridden

focusTraversalKeys

The focus traversal keys. These keys will generate focus traversal
behavior for Components for which focus traversal keys are enabled. If a
value of null is specified for a traversal key, this Component inherits
that traversal key from its parent. If all ancestors of this Component
have null specified for that traversal key, then the current
KeyboardFocusManager's default traversal key is used.

focusTraversalKeysEnabled

boolean focusTraversalKeysEnabled

Indicates whether focus traversal keys are enabled for this Component.
Components for which focus traversal keys are disabled receive key
events for focus traversal keys. Components for which focus traversal
keys are enabled do not see these events; instead, the events are
automatically converted to traversal operations.

prefSizeSet

maxSize

maxSizeSet

boolean maxSizeSet

Whether or not setMaximumSize has been invoked with a non-null value.

newEventsOnly

boolean newEventsOnly

newEventsOnly will be true if the event is
one of the event types enabled for the component.
It will then allow for normal processing to
continue. If it is false the event is passed
to the component's parent and up the ancestor
tree until the event has been consumed.

eventMask

long eventMask

The eventMask is ONLY set by subclasses via
enableEvents.
The mask should NOT be set when listeners are registered
so that we can distinguish the difference between when
listeners request events and subclasses request them.
One bit is used to indicate whether input methods are
enabled; this bit is set by enableInputMethods and is
on by default.

isPacked

boolean isPacked

boundsOp

int boundsOp

Pseudoparameter for direct Geometry API (setLocation, setBounds setSize
to signal setBounds what's changing. Should be used under TreeLock.
This is only needed due to the inability to change the cross-calling
order of public and deprecated methods.

writeObject

Writes a list of serializable ContainerListener(s) as optional
data. The non-serializable ContainerListner(s) are detected and
no attempt is made to serialize them.

Write this Container's FocusTraversalPolicy if and only if it
is Serializable; otherwise, null is written.

Serial Data:

null terminated sequence of 0 or more pairs;
the pair consists of a String and Object;
the String indicates the type of object and
is one of the following:
containerListenerK indicating an
ContainerListener object;
the Container's FocusTraversalPolicy,
or null

component

containerSerializedDataVersion

dispatcher

Event router for lightweight components. If this container
is native, this dispatcher takes care of forwarding and
retargeting the events to lightweight components contained
(if any).

focusCycleRoot

boolean focusCycleRoot

Indicates whether this Component is the root of a focus traversal cycle.
Once focus enters a traversal cycle, typically it cannot leave it via
focus traversal unless one of the up- or down-cycle keys is pressed.
Normal traversal is limited to this Container, and all of this
Container's descendants that are not descendants of inferior focus cycle
roots.

resizable

undecorated

boolean undecorated

This field indicates whether the dialog is undecorated.
This property can only be changed while the dialog is not displayable.
undecorated will be true if the dialog is
undecorated, otherwise it will be false.

readObject

Reads the ObjectInputStream. Tries
to read an Icon, which is optional
data available as of 1.4. If an Icon
is not available, but anything other than an EOF
is detected, an OptionalDataException
will be thrown..
Unrecognized keys or values will be ignored.

Throws:

OptionalDataException - if an Icon
is not available, but anything other than an EOF
is detected

undecorated

boolean undecorated

This field indicates whether the frame is undecorated.
This property can only be changed while the frame is not displayable.
undecorated will be true if the frame is
undecorated, otherwise it will be false.

gridx

int gridx

Specifies the cell containing the leading edge of the component's
display area, where the first cell in a row has gridx=0.
The leading edge of a component's display area is its left edge for
a horizontal, left-to-right container and its right edge for a
horizontal, right-to-left container.
The value
RELATIVE specifies that the component be placed
immediately following the component that was added to the container
just before this component was added.

gridy

int gridy

Specifies the cell at the top of the component's display area,
where the topmost cell has gridy=0. The value
RELATIVE specifies that the component be placed just
below the component that was added to the container just before
this component was added.

gridwidth

int gridwidth

Specifies the number of cells in a row for the component's
display area.

Use REMAINDER to specify that the component's
display area will be from gridx to the last
cell in the row.
Use RELATIVE to specify that the component's
display area will be from gridx to the next
to the last one in its row.

gridheight

int gridheight

Specifies the number of cells in a column for the component's
display area.

Use REMAINDER to specify that the component's
display area will be from gridy to the last
cell in the column.
Use RELATIVE to specify that the component's
display area will be from gridy to the next
to the last one in its column.

weightx

double weightx

Specifies how to distribute extra horizontal space.

The grid bag layout manager calculates the weight of a column to
be the maximum weightx of all the components in a
column. If the resulting layout is smaller horizontally than the area
it needs to fill, the extra space is distributed to each column in
proportion to its weight. A column that has a weight of zero receives
no extra space.

If all the weights are zero, all the extra space appears between
the grids of the cell and the left and right edges.

The default value of this field is 0.
weightx should be a non-negative value.

weighty

double weighty

Specifies how to distribute extra vertical space.

The grid bag layout manager calculates the weight of a row to be
the maximum weighty of all the components in a row.
If the resulting layout is smaller vertically than the area it
needs to fill, the extra space is distributed to each row in
proportion to its weight. A row that has a weight of zero receives no
extra space.

If all the weights are zero, all the extra space appears between
the grids of the cell and the top and bottom edges.

The default value of this field is 0.
weighty should be a non-negative value.

defaultConstraints

This field holds a gridbag constraints instance
containing the default values, so if a component
does not have gridbag constraints associated with
it, then the component will be assigned a
copy of the defaultConstraints.

layoutInfo

java.awt.GridBagLayoutInfo layoutInfo

This field holds the layout information
for the gridbag. The information in this field
is based on the most recent validation of the
gridbag.
If layoutInfo is null
this indicates that there are no components in
the gridbag or if there are components, they have
not yet been validated.

columnWidths

int[] columnWidths

This field holds the overrides to the column minimum
width. If this field is non-null the values are
applied to the gridbag after all of the minimum columns
widths have been calculated.
If columnWidths has more elements than the number of
columns, columns are added to the gridbag to match
the number of elements in columnWidth.

rowHeights

int[] rowHeights

This field holds the overrides to the row minimum
heights. If this field is non-null the values are
applied to the gridbag after all of the minimum row
heights have been calculated.
If rowHeights has more elements than the number of
rows, rowa are added to the gridbag to match
the number of elements in rowHeights.

columnWeights

double[] columnWeights

This field holds the overrides to the column weights.
If this field is non-null the values are
applied to the gridbag after all of the columns
weights have been calculated.
If columnWeights[i] > weight for column i, then
column i is assigned the weight in columnWeights[i].
If columnWeights has more elements than the number
of columns, the excess elements are ignored - they do
not cause more columns to be created.

rowWeights

double[] rowWeights

This field holds the overrides to the row weights.
If this field is non-null the values are
applied to the gridbag after all of the rows
weights have been calculated.
If rowWeights[i] > weight for row i, then
row i is assigned the weight in rowWeights[i].
If rowWeights has more elements than the number
of rows, the excess elements are ignored - they do
not cause more rows to be created.

rows

int rows

This is the number of rows specified for the grid. The number
of rows can be changed at any time.
This should be a non negative integer, where '0' means
'any number' meaning that the number of Rows in that
dimension depends on the other dimension.

cols

int cols

This is the number of columns specified for the grid. The number
of columns can be changed at any time.
This should be a non negative integer, where '0' means
'any number' meaning that the number of Columns in that
dimension depends on the other dimension.

readObject

Reads the ObjectInputStream and if it
isn't null adds a listener to receive
both item events and action events (as specified
by the key stored in the stream) fired by the
List.
Unrecognized keys or values will be ignored.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ItemListeners
and ActionListeners as optional data.
The non-serializable listeners are detected and
no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String
indicates the type of object and is one of the
following:
itemListenerK indicating an
ItemListener object;
actionListenerK indicating an
ActionListener object

multipleMode

boolean multipleMode

multipleMode is a variable that will
be set to true if a list component is to be set to
multiple selection mode, that is where the user can
select more than one item in a list at one time.
multipleMode will be set to false if the
list component is set to single selection, that is where
the user can only select one item on the list at any
one time.

items

tearOff

boolean tearOff

This field indicates whether the menu has the
tear of property or not. It will be set to
true if the menu has the tear off
property and it will be set to false>
if it does not.
A torn off menu can be deleted by a user when
it is no longer needed.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ActionListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String
indicates the type of object and is one of the following:
actionListenerK indicating an
ActionListener object

eventMask

long eventMask

The eventMask is ONLY set by subclasses via enableEvents.
The mask should NOT be set when listeners are registered
so that we can distinguish the difference between when
listeners request events and subclasses request them.

key

int key

The virtual keycode for the menu shortcut.
This is the keycode with which the menu shortcut will be created.
Note that it is a virtual keycode, not a character,
e.g. KeyEvent.VK_A, not 'a'.
Note: in 1.1.x you must use setActionCommand() on a menu item
in order for its shortcut to work, otherwise it will fire a null
action command.

xpoints

int[] xpoints

The array of x coordinates. The number of elements in
this array might be more than the number of x coordinates
in this Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints is equal to the
number of valid points in this Polygon.

ypoints

int[] ypoints

The array of y coordinates. The number of elements in
this array might be more than the number of y coordinates
in this Polygon. The extra elements allow new points
to be added to this Polygon without re-creating this
array. The value of npoints is equal to the
number of valid points in this Polygon.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable AdjustmentListeners
as optional data. The non-serializable listeners are
detected and no attempt is made to serialize them.

Serial Data:

null terminated sequence of 0
or more pairs; the pair consists of a String
and an Object; the String indicates
the type of object and is one of the following:
adjustmentListenerK indicating an
AdjustmentListener object

value

minimum

int minimum

The minimum value of this scrollbar.
This value can only be set by the ScrollPane.

ATTN: In current implementation
minimum is always 0. This field can
only be altered via setSpan method and
ScrollPane always calls that method with
0 for the minimum. getMinimum method
always returns 0 without checking this field.

rows

columns

int columns

The number of columns in the TextArea.
A column is an approximate average character
width that is platform-dependent.
This parameter will determine the text area's width.
Guaranteed to be non-negative.

scrollbarVisibility

int scrollbarVisibility

Determines which scrollbars are created for the
text area. It can be one of four values :
SCROLLBARS_BOTH = both scrollbars.SCROLLBARS_HORIZONTAL_ONLY = Horizontal bar only.SCROLLBARS_VERTICAL_ONLY = Vertical bar only.SCROLLBARS_NONE = No scrollbars.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable TextListener(s) as optional data.
The non-serializable TextListener(s) are detected and
no attempt is made to serialize them.

Serial Data:

Null terminated sequence of zero or more pairs.
A pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
textListenerK indicating and TextListener object.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable ActionListener(s) as optional data.
The non-serializable ActionListener(s) are detected and
no attempt is made to serialize them.

Serial Data:

Null terminated sequence of zero or more pairs.
A pair consists of a String and Object.
The String indicates the type of object and
is one of the following :
ActionListenerK indicating and ActionListener object.

readObject

Reads the ObjectInputStream and an optional
list of listeners to receive various events fired by
the component; also reads a list of
(possibly null) child windows.
Unrecognized keys or values will be ignored.

writeObject

Writes default serializable fields to stream. Writes
a list of serializable WindowListeners and
WindowFocusListeners as optional data.
Writes a list of child windows as optional data.

Serial Data:

null terminated sequence of
0 or more pairs; the pair consists of a String
and and Object; the String
indicates the type of object and is one of the following:
windowListenerK indicating a
WindowListener object;
windowFocusWindowK indicating a
WindowFocusListener object;
ownedWindowK indicating a child
Window object

warningString

This represents the warning message that is
to be displayed in a non secure window. ie :
a window that has a security manager installed for
which calling SecurityManager.checkTopLevelWindow()
is false. This message can be displayed anywhere in
the window.

readObject

Reads default serializable fields from the stream. Reads from
the stream a string and an array of bytes as additional data.

Serial Data:

The String is the name of one of
CS_* constants defined in the
ColorSpace class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"). The string is null
otherwise.

The byte[] array is the profile data for the
profile. It will usually be null for the
predefined profiles.

If the string is recognized as a constant name for
predefined color space the object will be resolved into
profile obtained with
getInstance(int cspace) and the profile
data are ignored. Otherwise the object will be resolved
into profile obtained with
getInstance(byte[] data).

writeObject

Writes default serializable fields to the stream. Writes a
string and an array of bytes to the stream as additional data.

Serial Data:

The String is the name of one of
CS_* constants defined in the
ColorSpace class if the profile object is a profile
for a predefined color space (for example
"CS_sRGB"). The string is null
otherwise.

The byte[] array is the profile data for the
profile. For predefined color spaces null is
written instead of the profile data. If in the future
versions of Java API new predefined color spaces will be
added, future versions of this class may choose to write
for new predefined color spaces not only the color space
name, but the profile data as well so that older versions
could still deserialize the object.

readObject

Deserializes this DragGestureEvent. This method first
performs default deserialization for all non-transient
fields. An attempt is then made to deserialize this object's
List of gesture events as well. This is first attempted
by deserializing the field events, because, in releases
prior to 1.4, a non-transient field of this name stored the
List of gesture events. If this fails, the next object in
the stream is used instead. If the resulting List is
null, this object's List of gesture events
is set to an empty List.

writeObject

Serializes this DragGestureEvent. Performs default
serialization and then writes out this object's List of
gesture events if and only if the List can be serialized.
If not, null is written instead. In this case, a
DragGestureEvent created from the resulting deserialized
stream will contain an empty List of gesture events.

Serial Data:

The default serializable fields, in alphabetical order,
followed by either a List instance, or
null.

readObject

Deserializes this DragGestureRecognizer. This method first
performs default deserialization for all non-transient
fields. This object's DragGestureListener is then
deserialized as well by using the next object in the stream.

writeObject

Serializes this DragGestureRecognizer. This method first
performs default serialization. Then, this object's
DragGestureListener is written out if and only if it can be
serialized. If not, null is written instead.

Serial Data:

The default serializable fields, in alphabetical order,
followed by either a DragGestureListener, or
null.

readObject

Deserializes this DragSource. This method first performs
default deserialization. Next, this object's FlavorMap is
deserialized by using the next object in the stream.
If the resulting FlavorMap is null, this
object's FlavorMap is set to the default FlavorMap for
this thread's ClassLoader.
Next, this object's listeners are deserialized by reading a
null-terminated sequence of 0 or more key/value pairs
from the stream:

If a key object is a String equal to
dragSourceListenerK, a DragSourceListener is
deserialized using the corresponding value object and added to this
DragSource.

If a key object is a String equal to
dragSourceMotionListenerK, a
DragSourceMotionListener is deserialized using the
corresponding value object and added to this DragSource.

writeObject

Serializes this DragSource. This method first performs
default serialization. Next, it writes out this object's
FlavorMap if and only if it can be serialized. If not,
null is written instead. Next, it writes out
Serializable listeners registered with this
object. Listeners are written in a null-terminated sequence
of 0 or more pairs. The pair consists of a String and an
Object; the String indicates the type of the
Object and is one of the following:

Either a FlavorMap instance, or
null, followed by a null-terminated
sequence of 0 or more pairs; the pair consists of a
String and an Object; the
String indicates the type of the Object
and is one of the following:

readObject

Deserializes this DragSourceContext. This method first
performs default deserialization for all non-transient
fields. This object's Transferable and
DragSourceListener are then deserialized as well by using
the next two objects in the stream. If the resulting
Transferable is null, this object's
Transferable is set to a dummy Transferable
which supports no DataFlavors.

writeObject

Serializes this DragSourceContext. This method first
performs default serialization. Next, this object's
Transferable is written out if and only if it can be
serialized. If not, null is written instead. In this case,
a DragSourceContext created from the resulting deserialized
stream will contain a dummy Transferable which supports no
DataFlavors. Finally, this object's
DragSourceListener is written out if and only if it can be
serialized. If not, null is written instead.

Serial Data:

The default serializable fields, in alphabetical order,
followed by either a Transferable instance, or
null, followed by either a
DragSourceListener instance, or
null.

readObject

Deserializes this DropTarget. This method first performs
default deserialization for all non-transient fields. An
attempt is then made to deserialize this object's
DropTargetListener as well. This is first attempted by
deserializing the field dtListener, because, in releases
prior to 1.4, a non-transient field of this name stored the
DropTargetListener. If this fails, the next object in the
stream is used instead.

value

adjustmentType

int adjustmentType

The adjustmentType describes how the adjustable
object value has changed.
This value can be increased/decreased by a block or unit amount
where the block is associated with page increments/decrements,
and a unit is associated with line increments/decrements.

temporary

boolean temporary

A focus event can have two different levels, permanent and temporary.
It will be set to true if some operation takes away the focus
temporarily and intends on getting it back once the event is completed.
Otherwise it will be set to false.

isProxyActive

boolean isProxyActive

Stores the state of native event dispatching system
- true, if when the event was created event proxying
mechanism was active
- false, if it was inactive
Used in Component.dispatchEventImpl to correctly dispatch
events when proxy is active

keyCode

int keyCode

The unique value assigned to each of the keys on the
keyboard. There is a common set of key codes that
can be fired by most keyboards.
The symbolic name for a key code should be used rather
than the code value itself.

keyChar

keyLocation

int keyLocation

The location of the key on the keyboard.
Some keys occur more than once on a keyboard, e.g. the left and
right shift keys. Additionally, some keys occur on the numeric
keypad. This variable is used to distinguish such keys.
The only legal values are KEY_LOCATION_UNKNOWN,
KEY_LOCATION_STANDARD, KEY_LOCATION_LEFT,
KEY_LOCATION_RIGHT, and KEY_LOCATION_NUMPAD.

y

clickCount

int clickCount

Indicates the number of quick consecutive clicks of
a mouse button.
clickCount will be valid for only three mouse events :MOUSE_CLICKED,
MOUSE_PRESSED and
MOUSE_RELEASED.
For the above, the clickCount will be at least 1.
For all other events the count will be 0.

writeObject

Serialize the BeanContextSupport, if this instance has a distinct
peer (that is this object is acting as a delegate for another) then
the children of this instance are not serialized here due to a
'chicken and egg' problem that occurs on deserialization of the
children at the same time as this instance.
Therefore in situations where there is a distinct peer to this instance
it should always call writeObject() followed by writeChildren() and
readObject() followed by readChildren().

readObject

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.

value

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.

value

name

The name of this enum constant, as declared in the enum declaration.
Most programmers should use the Enum.toString() method rather than
accessing this field.

ordinal

int ordinal

The ordinal of this enumeration constant (its position
in the enum declaration, where the initial constant is assigned
an ordinal of zero).
Most programmers will have no use for this field. It is designed
for use by sophisticated enum-based data structures, such as
EnumSet and EnumMap.

writeObject

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.

detailMessage

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.

readObject

Reconstitute the BigInteger instance from a stream (that is,
deserialize it). The magnitude is read in as an array of bytes
for historical reasons, but it is converted to an array of ints
and the byte array is discarded.

precision

int precision

The number of digits to be used for an operation. A value of 0
indicates that unlimited precision (as many digits as are
required) will be used. Note that leading zeros (in the
coefficient of a number) are never significant.

writeObject

The only serializable field of a URI instance is its string
field. That field is given a value, if it does not have one already,
and then the ObjectOutputStream.defaultWriteObject()
method of the given object-output stream is invoked.

writeObject

WriteObject is called to save the state of the URL to an
ObjectOutputStream. The handler is not saved since it is
specific to this system.

Serial Data:

the default write object value. When read back in,
the reader must ensure that calling getURLStreamHandler with
the protocol variable returns a valid URLStreamHandler and
throw an IOException if it does not.

readObject

This method reads this object's serialized form for this
class as follows:

The readObject method is invoked on
in to read this object's unique identifier
(a UID instance).

Next, the readUTF method is invoked on
in to read the external ref type name of the
RemoteRef instance for this object's
activator. Next, the RemoteRef
instance is created of an implementation-specific class
corresponding to the external ref type name (returned by
readUTF), and the readExternal
method is invoked on that RemoteRef instance
to read the external form corresponding to the external
ref type name.

Note: If the external ref type name is
"UnicastRef", "UnicastServerRef",
"UnicastRef2", "UnicastServerRef2",
or "ActivatableRef", a corresponding
implementation-specific class must be found, and its
readExternal method must read the serial data
for that external ref type name as specified to be written
in the serialData documentation for this class.
If the external ref type name is any other string (of non-zero
length), a ClassNotFoundException will be thrown,
unless the implementation provides an implementation-specific
class corresponding to that external ref type name, in which
case the RemoteRef will be an instance of
that implementation-specific class.

writeObject

This method writes this object's serialized form for
this class as follows:

The writeObject method is invoked on
out passing this object's unique identifier
(a UID instance) as the argument.

Next, the getRefClass method is invoked on the activator's
RemoteRef instance to obtain its external ref
type name. Next, the writeUTF method is
invoked on out with the value returned by
getRefClass, and then the
writeExternal method is invoked on the
RemoteRef instance passing out
as the argument.

Serial Data:

The serialized data for this class comprises a
java.rmi.server.UID (written with
ObjectOutput.writeObject) followed by the
external ref type name of the activator's
RemoteRef instance (a string written with
ObjectOutput.writeUTF), followed by the
external form of the RemoteRef instance as
written by its writeExternal method.

The external ref type name of the
RemoteRef instance is
determined using the definitions of external ref type
names specified in the RemoteObjectwriteObject method
serialData specification. Similarly, the data
written by the writeExternal method and read
by the readExternal method of
RemoteRef implementation classes
corresponding to each of the defined external ref type
names is specified in the RemoteObjectwriteObject method serialData
specification.

readObject

This method reads this object's serialized form for this class
as follows:

The readUTF method is invoked on in
to read the external ref type name for the RemoteRef
instance to be filled in to this object's ref field.
If the string returned by readUTF has length zero,
the readObject method is invoked on in,
and than the value returned by readObject is cast to
RemoteRef and this object's ref field is
set to that value.
Otherwise, this object's ref field is set to a
RemoteRef instance that is created of an
implementation-specific class corresponding to the external ref
type name returned by readUTF, and then
the readExternal method is invoked on
this object's ref field.

If the external ref type name is
"UnicastRef", "UnicastServerRef",
"UnicastRef2", "UnicastServerRef2",
or "ActivatableRef", a corresponding
implementation-specific class must be found, and its
readExternal method must read the serial data
for that external ref type name as specified to be written
in the serialData documentation for this class.
If the external ref type name is any other string (of non-zero
length), a ClassNotFoundException will be thrown,
unless the implementation provides an implementation-specific
class corresponding to that external ref type name, in which
case this object's ref field will be set to an
instance of that implementation-specific class.

writeObject

This method writes this object's serialized form for this class
as follows:

The getRefClass
method is invoked on this object's ref field
to obtain its external ref type name.
If the value returned by getRefClass was
a non-null string of length greater than zero,
the writeUTF method is invoked on out
with the value returned by getRefClass, and then
the writeExternal method is invoked on
this object's ref field passing out
as the argument; otherwise,
the writeUTF method is invoked on out
with a zero-length string (""), and then
the writeObject method is invoked on out
passing this object's ref field as the argument.

Serial Data:

The serialized data for this class comprises a string (written with
ObjectOutput.writeUTF) that is either the external
ref type name of the contained RemoteRef instance
(the ref field) or a zero-length string, followed by
either the external form of the ref field as written by
its writeExternal method if the string was of non-zero
length, or the serialized form of the ref field as
written by passing it to the serialization stream's
writeObject if the string was of zero length.

If this object is an instance of
RemoteStub or RemoteObjectInvocationHandler
that was returned from any of
the UnicastRemoteObject.exportObject methods
and custom socket factories are not used,
the external ref type name is "UnicastRef".
If this object is an instance of
RemoteStub or RemoteObjectInvocationHandler
that was returned from any of
the UnicastRemoteObject.exportObject methods
and custom socket factories are used,
the external ref type name is "UnicastRef2".
If this object is an instance of
RemoteStub or RemoteObjectInvocationHandler
that was returned from any of
the java.rmi.activation.Activatable.exportObject methods,
the external ref type name is "ActivatableRef".
If this object is an instance of
RemoteStub or RemoteObjectInvocationHandler
that was returned from
the RemoteObject.toStub method (and the argument passed
to toStub was not itself a RemoteStub),
the external ref type name is a function of how the remote object
passed to toStub was exported, as described above.
If this object is an instance of
RemoteStub or RemoteObjectInvocationHandler
that was originally created via deserialization,
the external ref type name is the same as that which was read
when this object was deserialized.

If this object is an instance of
java.rmi.server.UnicastRemoteObject that does not
use custom socket factories,
the external ref type name is "UnicastServerRef".
If this object is an instance of
UnicastRemoteObject that does
use custom socket factories,
the external ref type name is "UnicastServerRef2".

Following is the data that must be written by the
writeExternal method and read by the
readExternal method of RemoteRef
implementation classes that correspond to the each of the
defined external ref type names:

permClass

permissions

The BasicPermissions in this BasicPermissionCollection.
All BasicPermissions in the collection must belong to the same class.
The Hashtable is indexed by the BasicPermission name; the value
of the Hashtable entry is the permission.

writeObject

An initial URL is followed by an
int indicating the number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes. Finally, if any code signers are present then the array
of code signers is serialized and written out too.

Type.PUBLIC/"X.509" - gets a KeyFactory instance for
the key algorithm, constructs an X509EncodedKeySpec with the
encoded key bytes, and generates a public key from the spec

Type.PRIVATE/"PKCS#8" - gets a KeyFactory instance for
the key algorithm, constructs a PKCS8EncodedKeySpec with the
encoded key bytes, and generates a private key from the spec

Throws:

NotSerializableException - if the Type/format
combination is unrecognized, if the algorithm, key format, or
encoded key bytes are unrecognized/invalid, of if the
resolution of the key fails for any reason

provider

secureRandomSpi

algorithm

state

digest

randomBytes

byte[] randomBytes

We know that the MessageDigest class does not implement
java.io.Serializable. However, since this field is no longer
used, it will always be NULL and won't affect the serialization
of the SecureRandom class itself.

writeObject

An initial String denoting the
type is followed by a String denoting the
name is followed by a String denoting the
actions is followed by an int indicating the
number of certificates to follow
(a value of "zero" denotes that there are no certificates associated
with this object).
Each certificate is written out starting with a String
denoting the certificate type, followed by an
int specifying the length of the certificate encoding,
followed by the certificate encoding itself which is written out as an
array of bytes.

calendar

The calendar that DateFormat uses to produce the time field
values needed to implement date and time formatting. Subclasses should
initialize this to a calendar appropriate for the locale associated with
this DateFormat.

ampms

zoneStrings

Localized names of time zones in this locale. This is a
two-dimensional array of strings of size n by m,
where m is at least 5. Each of the n rows is an
entry containing the localized names for a single TimeZone.
Each such row contains (with i ranging from
0..n-1):

zoneStrings[i][0] - time zone ID

zoneStrings[i][1] - long name of zone in standard
time

zoneStrings[i][2] - short name of zone in
standard time

zoneStrings[i][3] - long name of zone in daylight
savings time

zoneStrings[i][4] - short name of zone in daylight
savings time

The zone ID is not localized; it corresponds to the ID
value associated with a system time zone object. All other entries
are localized names. If a zone does not implement daylight savings
time, the daylight savings time names are ignored.

localPatternChars

Localized date-time pattern characters. For example, a locale may
wish to use 'u' rather than 'y' to represent years in its date format
pattern strings.
This string must be exactly 18 characters long, with the index of
the characters described by DateFormat.ERA_FIELD,
DateFormat.YEAR_FIELD, etc. Thus, if the string were
"Xz...", then localized patterns would use 'X' for era and 'z' for year.

readObject

Reads the default serializable fields from the stream and performs
validations and adjustments for older serialized versions. The
validations and adjustments are:

Verify that the superclass's digit count fields correctly reflect
the limits imposed on formatting numbers other than
BigInteger and BigDecimal objects. These
limits are stored in the superclass for serialization compatibility
with older versions, while the limits for BigInteger and
BigDecimal objects are kept in this class.
If, in the superclass, the minimum or maximum integer digit count is
larger than DOUBLE_INTEGER_DIGITS or if the minimum or
maximum fraction digit count is larger than
DOUBLE_FRACTION_DIGITS, then the stream data is invalid
and this method throws an InvalidObjectException.

If serialVersionOnStream is less than 3, then call
the setters for the minimum and maximum integer and fraction digits with
the values of the corresponding superclass getters to initialize the
fields in this class. The fields in this class are new with version 3.

If serialVersionOnStream is less than 1, indicating that
the stream was written by JDK 1.1, initialize
useExponentialNotation
to false, since it was not present in JDK 1.1.

Set serialVersionOnStream to the maximum allowed value so
that default serialization will work properly if this object is streamed
out again.

Stream versions older than 2 will not have the affix pattern variables
posPrefixPattern etc. As a result, they will be initialized
to null, which means the affix strings will be taken as
literal values. This is exactly what we want, since that corresponds to
the pre-version-2 behavior.

negativeSuffix

posPrefixPattern

The prefix pattern for non-negative numbers. This variable corresponds
to positivePrefix.

This pattern is expanded by the method expandAffix() to
positivePrefix to update the latter to reflect changes in
symbols. If this variable is null then
positivePrefix is taken as a literal value that does not
change when symbols changes. This variable is always
null for DecimalFormat objects older than
stream version 2 restored from stream.

readObject

Reads the default serializable fields, provides default values for objects
in older serial versions, and initializes non-serializable fields.
If serialVersionOnStream
is less than 1, initializes monetarySeparator to be
the same as decimalSeparator and exponential
to be 'E'.
If serialVersionOnStream is less then 2,
initializes localeto the root locale.
Sets serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.
Initializes the currency from the intlCurrencySymbol field.

formats

offsets

The positions where the results of formatting each argument are to be inserted
into the pattern.

argumentNumbers

int[] argumentNumbers

The argument numbers corresponding to each formatter. (The formatters are stored
in the order they occur in the pattern, not in the order in which the arguments
are specified.)

maxOffset

int maxOffset

One less than the number of entries in offsets. Can also be thought of
as the index of the highest-numbered element in offsets that is being used.
All of these arrays should have the same number of elements being used as offsets
does, and so this variable suffices to tell us how many entries are in all of them.

readObject

First, read in the default serializable data.
Then, if serialVersionOnStream is less than 1, indicating that
the stream was written by JDK 1.1,
set the int fields such as maximumIntegerDigits
to be equal to the byte fields such as maxIntegerDigits,
since the int fields were not present in JDK 1.1.
Finally, set serialVersionOnStream back to the maximum allowed value so that
default serialization will work properly if this object is streamed out again.

If minimumIntegerDigits is greater than
maximumIntegerDigits or minimumFractionDigits
is greater than maximumFractionDigits, then the stream data
is invalid and this method throws an InvalidObjectException.
In addition, if any of these values is negative, then this method throws
an InvalidObjectException.

writeObject

Write out the default serializable data, after first setting
the byte fields such as maxIntegerDigits to be
equal to the int fields such as maximumIntegerDigits
(or to Byte.MAX_VALUE, whichever is smaller), for compatibility
with the JDK 1.1 version of the stream format.

groupingUsed

maxIntegerDigits

byte maxIntegerDigits

The maximum number of digits allowed in the integer portion of a
number. maxIntegerDigits must be greater than or equal to
minIntegerDigits.

Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int field maximumIntegerDigits is used instead.
When writing to a stream, maxIntegerDigits is set to
maximumIntegerDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.

minIntegerDigits

byte minIntegerDigits

The minimum number of digits allowed in the integer portion of a
number. minimumIntegerDigits must be less than or equal to
maximumIntegerDigits.

Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int field minimumIntegerDigits is used instead.
When writing to a stream, minIntegerDigits is set to
minimumIntegerDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.

maxFractionDigits

byte maxFractionDigits

The maximum number of digits allowed in the fractional portion of a
number. maximumFractionDigits must be greater than or equal to
minimumFractionDigits.

Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int field maximumFractionDigits is used instead.
When writing to a stream, maxFractionDigits is set to
maximumFractionDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.

minFractionDigits

byte minFractionDigits

The minimum number of digits allowed in the fractional portion of a
number. minimumFractionDigits must be less than or equal to
maximumFractionDigits.

Note: This field exists only for serialization
compatibility with JDK 1.1. In Java platform 2 v1.2 and higher, the new
int field minimumFractionDigits is used instead.
When writing to a stream, minFractionDigits is set to
minimumFractionDigits or Byte.MAX_VALUE,
whichever is smaller. When reading from a stream, this field is used
only if serialVersionOnStream is less than 1.

serialVersionOnStream

int serialVersionOnStream

Describes the version of NumberFormat present on the stream.
Possible values are:

0 (or uninitialized): the JDK 1.1 version of the stream format.
In this version, the int fields such as
maximumIntegerDigits were not present, and the byte
fields such as maxIntegerDigits are used instead.

1: the 1.2 version of the stream format. The values of the
byte fields such as maxIntegerDigits are ignored,
and the int fields such as maximumIntegerDigits
are used instead.

When streaming out a NumberFormat, the most recent format
(corresponding to the highest allowable serialVersionOnStream)
is always written.

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).
INVARIANT: The words in bits[] above unitsInUse-1 are zero.

writeObject

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.

fields

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.

isSet

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.

time

long time

The currently set time for this calendar, expressed in milliseconds after
January 1, 1970, 0:00:00 GMT.

lenient

zone

The TimeZone used by this calendar. Calendar
uses the time zone data to translate between locale and GMT time.

firstDayOfWeek

int firstDayOfWeek

The first day of the week, with possible values SUNDAY,
MONDAY, etc. This is a locale-dependent value.

minimalDaysInFirstWeek

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

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

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.

readResolve

SynchronizedRandomAccessList instances are serialized as
SynchronizedList instances to allow them to be deserialized
in pre-1.4 JREs (which do not have SynchronizedRandomAccessList).
This method inverts the transformation. As a beneficial
side-effect, it also grafts the RandomAccess marker onto
SynchronizedList instances that were serialized in pre-1.4 JREs.
Note: Unfortunately, SynchronizedRandomAccessList instances
serialized in 1.4.1 and deserialized in 1.4 will become
SynchronizedList instances, as this method was missing in 1.4.

readResolve

UnmodifiableRandomAccessList instances are serialized as
UnmodifiableList instances to allow them to be deserialized
in pre-1.4 JREs (which do not have UnmodifiableRandomAccessList).
This method inverts the transformation. As a beneficial
side-effect, it also grafts the RandomAccess marker onto
UnmodifiableList instances that were serialized in pre-1.4 JREs.
Note: Unfortunately, UnmodifiableRandomAccessList instances
serialized in 1.4.1 and deserialized in 1.4 will become
UnmodifiableList instances, as this method was missing in 1.4.

readObject

gregorianCutover

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.

writeObject

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 the order that they
are returned by entrySet().iterator().

writeObject

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.

writeObject

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.

writeObject

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.

writeObject

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.

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.

startDay

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 th
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

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.

startTime

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

int startTimeMode

The format of startTime, either WALL_TIME, STANDARD_TIME, or UTC_TIME.

Since:

1.3

endMonth

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.

endDay

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

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.

endTime

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

int endTimeMode

The format of endTime, either WALL_TIME,
STANDARD_TIME, or UTC_TIME.

Since:

1.3

startYear

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.

rawOffset

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.

useDaylight

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.

monthLength

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.

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.

startMode

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

endMode

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

dstSavings

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

serialVersionOnStream

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.

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.

writeObject

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).

writeObject

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

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.

writeObject

Save the state to a stream (that is, serialize it). This
merely wraps default serialization within lock. The
serialization strategy for items is left to underlying
Queue. Note that locking is not needed on deserialization, so
readObject is not defined, just relying on default.

writeObject

Default fields, followed by a two byte version number
(major byte, followed by minor byte), followed by information on
the log record parameter array. If there is no parameter array,
then -1 is written. If there is a parameter array (possible of zero
length) then the array length is written as an integer, followed
by String values for each parameter. If a parameter is null, then
a null String is written. Otherwise the output of Object.toString()
is written.

readExternal

Restore this MLet's contents from the given ObjectInput.
Not all implementations support this method. Those that do not
throw UnsupportedOperationException. A subclass may
override this method to support it or to change the format of
the read data.

writeExternal

Save this MLet's contents to the given ObjectOutput.
Not all implementations support this method. Those that do not
throw UnsupportedOperationException. A subclass may
override this method to support it or to change the format of
the written data.

readExternal

Restore this MLet's contents from the given ObjectInput.
Not all implementations support this method. Those that do not
throw UnsupportedOperationException. A subclass may
override this method to support it or to change the format of
the read data.

writeExternal

Save this MLet's contents to the given ObjectOutput.
Not all implementations support this method. Those that do not
throw UnsupportedOperationException. A subclass may
override this method to support it or to change the format of
the written data.

writeObject

Connects the underlying RMIServer stub to an ORB, if needed,
before serializing it. This is done using the environment
map that was provided to the constructor, if any, and as documented
in javax.management.remote.rmi.

This method then calls s.defaultWriteObject().
Usually, rmiServer is null if this object
was constructed with a JMXServiceURL, and jmxServiceURL
is null if this object is constructed with a RMIServer stub.