Module 
Package 
Class 
Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Serialized Form

Package java.io
Exception java.io.CharConversionException
class CharConversionException extends IOException implements Serializable
serialVersionUID: -8680016352018427031L
Exception java.io.EOFException
class EOFException extends IOException implements Serializable
serialVersionUID: 6433858223774886977L
Class java.io.File
class File extends Object implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
Serialized Fields
path
private final String 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.
Exception java.io.FileNotFoundException
class FileNotFoundException extends IOException implements Serializable
serialVersionUID: -897856973823710492L
Exception java.io.InterruptedIOException
class InterruptedIOException extends IOException implements Serializable
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.
Exception java.io.InvalidClassException
class InvalidClassException extends ObjectStreamException implements Serializable
serialVersionUID: -4333316296251054416L
Serialized Fields
classname
public String classname
Name of the invalid class.
Serialization:
Name of the invalid class.
Exception java.io.InvalidObjectException
class InvalidObjectException extends ObjectStreamException implements Serializable
serialVersionUID: 3233174318281839583L
Error java.io.IOError
class IOError extends Error implements Serializable
serialVersionUID: 67100927991680413L
Exception java.io.IOException
class IOException extends Exception implements Serializable
serialVersionUID: 7818375828146090155L
Exception java.io.NotActiveException
class NotActiveException extends ObjectStreamException implements Serializable
serialVersionUID: -3893467273049808895L
Exception java.io.NotSerializableException
class NotSerializableException extends ObjectStreamException implements Serializable
serialVersionUID: 2906642554793891381L
Class java.io.ObjectStreamClass
class ObjectStreamClass extends Object implements Serializable
serialVersionUID: -6120832682080437368L
Serialization Overview
ObjectStreamClass has no fields for default serialization.
Exception java.io.ObjectStreamException
class ObjectStreamException extends IOException implements Serializable
serialVersionUID: 7260898174833392607L
Exception java.io.OptionalDataException
class OptionalDataException extends ObjectStreamException implements Serializable
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.
Class java.io.SerializablePermission
class SerializablePermission extends BasicPermission implements Serializable
serialVersionUID: 8537212141160296410L
Serialized Fields
actions
private String actions
Exception java.io.StreamCorruptedException
class StreamCorruptedException extends ObjectStreamException implements Serializable
serialVersionUID: 8983558202217591746L
Exception java.io.SyncFailedException
class SyncFailedException extends IOException implements Serializable
serialVersionUID: -2353342684412443330L
Exception java.io.UncheckedIOException
class UncheckedIOException extends RuntimeException implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded
InvalidObjectException - if the object is invalid or has a cause that is not an IOException
Exception java.io.UnsupportedEncodingException
class UnsupportedEncodingException extends IOException implements Serializable
serialVersionUID: -4274276298326136670L
Exception java.io.UTFDataFormatException
class UTFDataFormatException extends IOException implements Serializable
serialVersionUID: 420743449228280612L
Exception java.io.WriteAbortedException
class WriteAbortedException extends ObjectStreamException implements Serializable
serialVersionUID: -3326426625597282442L
Serialized Fields
detail
@Deprecated("17")
public Exception 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.

Package java.lang
Error java.lang.AbstractMethodError
class AbstractMethodError extends IncompatibleClassChangeError implements Serializable
serialVersionUID: -1654391082989018462L

Package java.lang.annotation
Error java.lang.annotation.AnnotationFormatError
class AnnotationFormatError extends Error implements Serializable
serialVersionUID: -4256701562333669892L
Exception java.lang.annotation.AnnotationTypeMismatchException
class AnnotationTypeMismatchException extends RuntimeException implements Serializable
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.
Exception java.lang.annotation.IncompleteAnnotationException
class IncompleteAnnotationException extends RuntimeException implements Serializable
serialVersionUID: 8445097402741811912L
Serialized Fields
annotationType
private Class<? extends Annotation> annotationType
The annotation interface.

elementName
private String elementName
The element name.

Package java.lang
Exception java.lang.ArithmeticException
class ArithmeticException extends RuntimeException implements Serializable
serialVersionUID: 2256477558314496007L
Exception java.lang.ArrayIndexOutOfBoundsException
class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException implements Serializable
serialVersionUID: -5116101128118950844L
Exception java.lang.ArrayStoreException
class ArrayStoreException extends RuntimeException implements Serializable
serialVersionUID: -4522193890499838241L
Error java.lang.AssertionError
class AssertionError extends Error implements Serializable
serialVersionUID: -5013299493970297370L
Class java.lang.Boolean
class Boolean extends Object implements Serializable
serialVersionUID: -3665804199014368530L
Serialized Fields
value
private final boolean value
The value of the Boolean.
Error java.lang.BootstrapMethodError
class BootstrapMethodError extends LinkageError implements Serializable
serialVersionUID: 292L
Class java.lang.Byte
class Byte extends Number implements Serializable
serialVersionUID: -7183698231559129828L
Serialized Fields
value
private final byte value
The value of the Byte.
Class java.lang.Character
class Character extends Object implements Serializable
serialVersionUID: 3786198910865385080L
Serialized Fields
value
private final char value
The value of the Character.
Class java.lang.Class
class Class<T> extends Object implements Serializable
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:
ObjectStreamClass
Exception java.lang.ClassCastException
class ClassCastException extends RuntimeException implements Serializable
serialVersionUID: -9223365651070458532L
Error java.lang.ClassCircularityError
class ClassCircularityError extends LinkageError implements Serializable
serialVersionUID: 1054362542914539689L
Error java.lang.ClassFormatError
class ClassFormatError extends LinkageError implements Serializable
serialVersionUID: -8420114879011949195L
Exception java.lang.ClassNotFoundException
class ClassNotFoundException extends ReflectiveOperationException implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
Serialization Overview
Serializable fields for ClassNotFoundException.
Serialized Fields
ex
Throwable ex
the Throwable
Exception java.lang.CloneNotSupportedException
class CloneNotSupportedException extends Exception implements Serializable
serialVersionUID: 5195511250079656443L
Class java.lang.Double
class Double extends Number implements Serializable
serialVersionUID: -9172774392245257468L
Serialized Fields
value
private final double value
The value of the Double.
Exception java.lang.EnumConstantNotPresentException
class EnumConstantNotPresentException extends RuntimeException implements Serializable
serialVersionUID: -6046998521960521108L
Serialized Fields
constantName
private String constantName
The name of the missing enum constant.

enumType
private Class<? extends Enum> enumType
The type of the missing enum constant.
Error java.lang.Error
class Error extends Throwable implements Serializable
serialVersionUID: 4980196508277280342L
Exception java.lang.Exception
class Exception extends Throwable implements Serializable
serialVersionUID: -3387516993124229948L
Error java.lang.ExceptionInInitializerError
class ExceptionInInitializerError extends LinkageError implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
Serialization Overview
Serializable fields for ExceptionInInitializerError.
Serialized Fields
exception
Throwable exception
the exception
Class java.lang.Float
class Float extends Number implements Serializable
serialVersionUID: -2671257302660747028L
Serialized Fields
value
private final float value
The value of the Float.
Error java.lang.IllegalAccessError
class IllegalAccessError extends IncompatibleClassChangeError implements Serializable
serialVersionUID: -8988904074992417891L
Exception java.lang.IllegalAccessException
class IllegalAccessException extends ReflectiveOperationException implements Serializable
serialVersionUID: 6616958222490762034L
Exception java.lang.IllegalArgumentException
class IllegalArgumentException extends RuntimeException implements Serializable
serialVersionUID: -5365630128856068164L
Exception java.lang.IllegalCallerException
class IllegalCallerException extends RuntimeException implements Serializable
serialVersionUID: -2349421918363102232L
Exception java.lang.IllegalMonitorStateException
class IllegalMonitorStateException extends RuntimeException implements Serializable
serialVersionUID: 3713306369498869069L
Exception java.lang.IllegalStateException
class IllegalStateException extends RuntimeException implements Serializable
serialVersionUID: -1848914673093119416L
Exception java.lang.IllegalThreadStateException
class IllegalThreadStateException extends IllegalArgumentException implements Serializable
serialVersionUID: -7626246362397460174L
Error java.lang.IncompatibleClassChangeError
class IncompatibleClassChangeError extends LinkageError implements Serializable
serialVersionUID: -4914975503642802119L
Exception java.lang.IndexOutOfBoundsException
class IndexOutOfBoundsException extends RuntimeException implements Serializable
serialVersionUID: 234122996006267687L
Error java.lang.InstantiationError
class InstantiationError extends IncompatibleClassChangeError implements Serializable
serialVersionUID: -4885810657349421204L
Exception java.lang.InstantiationException
class InstantiationException extends ReflectiveOperationException implements Serializable
serialVersionUID: -8441929162975509110L
Class java.lang.Integer
class Integer extends Number implements Serializable
serialVersionUID: 1360826667806852920L
Serialized Fields
value
private final int value
The value of the Integer.
Error java.lang.InternalError
class InternalError extends VirtualMachineError implements Serializable
serialVersionUID: -9062593416125562365L
Exception java.lang.InterruptedException
class InterruptedException extends Exception implements Serializable
serialVersionUID: 6700697376100628473L
Exception java.lang.LayerInstantiationException
class LayerInstantiationException extends RuntimeException implements Serializable
serialVersionUID: -906239691613568347L
Error java.lang.LinkageError
class LinkageError extends Error implements Serializable
serialVersionUID: 3579600108157160122L
Class java.lang.Long
class Long extends Number implements Serializable
serialVersionUID: 4290774380558885855L
Serialized Fields
value
private final long value
The value of the Long.
Exception java.lang.NegativeArraySizeException
class NegativeArraySizeException extends RuntimeException implements Serializable
serialVersionUID: -8960118058596991861L
Error java.lang.NoClassDefFoundError
class NoClassDefFoundError extends LinkageError implements Serializable
serialVersionUID: 9095859863287012458L
Error java.lang.NoSuchFieldError
class NoSuchFieldError extends IncompatibleClassChangeError implements Serializable
serialVersionUID: -3456430195886129035L
Exception java.lang.NoSuchFieldException
class NoSuchFieldException extends ReflectiveOperationException implements Serializable
serialVersionUID: -6143714805279938260L
Error java.lang.NoSuchMethodError
class NoSuchMethodError extends IncompatibleClassChangeError implements Serializable
serialVersionUID: -3765521442372831335L
Exception java.lang.NoSuchMethodException
class NoSuchMethodException extends ReflectiveOperationException implements Serializable
serialVersionUID: 5034388446362600923L
Exception java.lang.NullPointerException
class NullPointerException extends RuntimeException implements Serializable
serialVersionUID: 5162710183389028792L
Class java.lang.Number
class Number extends Object implements Serializable
serialVersionUID: -8742448824652078965L
Exception java.lang.NumberFormatException
class NumberFormatException extends IllegalArgumentException implements Serializable
serialVersionUID: -2848938806368998894L
Error java.lang.OutOfMemoryError
class OutOfMemoryError extends VirtualMachineError implements Serializable
serialVersionUID: 8228564086184010517L
Exception java.lang.ReflectiveOperationException
class ReflectiveOperationException extends Exception implements Serializable
serialVersionUID: 123456789L
Exception java.lang.RuntimeException
class RuntimeException extends Exception implements Serializable
serialVersionUID: -7034897190745766939L
Class java.lang.RuntimePermission
class RuntimePermission extends BasicPermission implements Serializable
serialVersionUID: 7399184964622342223L
Exception java.lang.SecurityException
class SecurityException extends RuntimeException implements Serializable
serialVersionUID: 6878364983674394167L
Class java.lang.Short
class Short extends Number implements Serializable
serialVersionUID: 7515723908773894738L
Serialized Fields
value
private final short value
The value of the Short.
Error java.lang.StackOverflowError
class StackOverflowError extends VirtualMachineError implements Serializable
serialVersionUID: 8609175038441759607L
Class java.lang.StackTraceElement
class StackTraceElement extends Object implements Serializable
serialVersionUID: 6992337162326171013L
Serialized Fields
classLoaderName
private String classLoaderName
The name of the class loader.

declaringClass
private String declaringClass
The declaring class.

fileName
private String 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
private String methodName
The method name.

moduleName
private String moduleName
The module name.

moduleVersion
private String moduleVersion
The module version.
Class java.lang.String
class String extends Object implements Serializable
serialVersionUID: -6849794470754667710L
Serialization Overview
Class String is special cased within the Serialization Stream Protocol. A String instance is written into an ObjectOutputStream according to Object Serialization Specification, Section 6.2, "Stream Elements"
Class java.lang.StringBuffer
class StringBuffer extends AbstractStringBuilder implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
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.
Class java.lang.StringBuilder
class StringBuilder extends AbstractStringBuilder implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
Exception java.lang.StringIndexOutOfBoundsException
class StringIndexOutOfBoundsException extends IndexOutOfBoundsException implements Serializable
serialVersionUID: -6762910422159637258L
Error java.lang.ThreadDeath
class ThreadDeath extends Error implements Serializable
serialVersionUID: -4417128565033088268L
Class java.lang.Throwable
class Throwable extends Object implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

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:
IOException - if an I/O error occurs
Serialized Fields
cause
private Throwable 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
private String detailMessage
Specific details about the Throwable. For example, for FileNotFoundException, this contains the name of the file that could not be found.

stackTrace
private StackTraceElement[] stackTrace
The stack trace, as returned by Throwable.getStackTrace(). The field is initialized to a zero-length array. A null value of this field indicates subsequent calls to Throwable.setStackTrace(StackTraceElement[]) and Throwable.fillInStackTrace() will be no-ops.
Since:
1.4

suppressedExceptions
private List<Throwable> 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
Exception java.lang.TypeNotPresentException
class TypeNotPresentException extends RuntimeException implements Serializable
serialVersionUID: -5101214195716534496L
Serialized Fields
typeName
private String typeName
The type name.
Error java.lang.UnknownError
class UnknownError extends VirtualMachineError implements Serializable
serialVersionUID: 2524784860676771849L
Error java.lang.UnsatisfiedLinkError
class UnsatisfiedLinkError extends LinkageError implements Serializable
serialVersionUID: -4019343241616879428L
Error java.lang.UnsupportedClassVersionError
class UnsupportedClassVersionError extends ClassFormatError implements Serializable
serialVersionUID: -7123279212883497373L
Exception java.lang.UnsupportedOperationException
class UnsupportedOperationException extends RuntimeException implements Serializable
serialVersionUID: -1242599979055084673L
Error java.lang.VerifyError
class VerifyError extends LinkageError implements Serializable
serialVersionUID: 7001962396098498785L
Error java.lang.VirtualMachineError
class VirtualMachineError extends Error implements Serializable
serialVersionUID: 4161983926571568670L

Package java.util
Class java.util.AbstractMap.SimpleEntry
class AbstractMap.SimpleEntry<K,V> extends Object implements Serializable
serialVersionUID: -8499721149061103585L
Serialized Fields
key
private final K key

value
private V value
Class java.util.AbstractMap.SimpleImmutableEntry
class AbstractMap.SimpleImmutableEntry<K,V> extends Object implements Serializable
serialVersionUID: 7138329143949025153L
Serialized Fields
key
private final K key

value
private final V value
Class java.util.ArrayDeque
class ArrayDeque<E> extends AbstractCollection<E> implements Serializable
serialVersionUID: 2340985798034038923L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Class java.util.ArrayList
class ArrayList<E> extends AbstractList<E> implements Serializable
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:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
size
private int size
The size of the ArrayList (the number of elements it contains).
Class java.util.BitSet
class BitSet extends Object implements Serializable
serialVersionUID: 7997698588986878753L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the BitSet instance from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

writeObject
private void writeObject
throws
Save the state of the BitSet instance to a stream (i.e., serialize it).
Throws:
IOException
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).
Class java.util.Calendar
class Calendar extends Object implements Serializable
serialVersionUID: -1807547505821590642L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this object from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
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:
Calendar.time

lenient
private boolean lenient
True if this calendar allows out-of-range field values during computation of time from fields[].
See Also:
Calendar.setLenient(boolean), Calendar.isLenient()

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:
Calendar.isTimeSet

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

Package java.util.concurrent
Class java.util.concurrent.ArrayBlockingQueue
class ArrayBlockingQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: -817911632652898426L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
InvalidObjectException - if invariants are violated
IOException - if an I/O error occurs
Serialized Fields
count
int count
Number of elements in the queue

items
final Object[] items
The queued items

lock
final ReentrantLock lock
Main lock guarding all access

notEmpty
private final Condition notEmpty
Condition for waiting takes

notFull
private final Condition 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
Exception java.util.concurrent.BrokenBarrierException
class BrokenBarrierException extends Exception implements Serializable
serialVersionUID: 7117394618823254244L
Exception java.util.concurrent.CancellationException
class CancellationException extends IllegalStateException implements Serializable
serialVersionUID: -9202173006928992231L
Exception java.util.concurrent.CompletionException
class CompletionException extends RuntimeException implements Serializable
serialVersionUID: 7830266012832686185L
Class java.util.concurrent.ConcurrentHashMap
class ConcurrentHashMap<K,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: 7249069246763182397L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
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.
Class java.util.concurrent.ConcurrentHashMap.KeySetView
class ConcurrentHashMap.KeySetView<K,V> extends ConcurrentHashMap.CollectionView<K,V> implements Serializable
serialVersionUID: 7249069246763182397L
Serialized Fields
value
private final V value
Class java.util.concurrent.ConcurrentLinkedDeque
class ConcurrentLinkedDeque<E> extends AbstractCollection<E> implements Serializable
serialVersionUID: 876323262645176354L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Class java.util.concurrent.ConcurrentLinkedQueue
class ConcurrentLinkedQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: 196745693267521676L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Class java.util.concurrent.ConcurrentSkipListMap
class ConcurrentSkipListMap<K,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: -8627078645895051609L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
comparator
final Comparator<? super K> comparator
The comparator used to maintain order in this map, or null if using natural ordering. (Non-private to simplify access in nested classes.)
Class java.util.concurrent.ConcurrentSkipListSet
class ConcurrentSkipListSet<E> extends AbstractSet<E> implements Serializable
serialVersionUID: -2479143111061671589L
Serialized Fields
m
private final ConcurrentNavigableMap<E,Object> 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().
Class java.util.concurrent.CopyOnWriteArrayList
class CopyOnWriteArrayList<E> extends Object implements Serializable
serialVersionUID: 8673264195747942595L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this list from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Class java.util.concurrent.CopyOnWriteArraySet
class CopyOnWriteArraySet<E> extends AbstractSet<E> implements Serializable
serialVersionUID: 5457747651344034263L
Serialized Fields
al
private final CopyOnWriteArrayList<E> al
Class java.util.concurrent.CountedCompleter
class CountedCompleter<T> extends ForkJoinTask<T> implements Serializable
serialVersionUID: 5232453752276485070L
Serialized Fields
completer
final CountedCompleter<?> completer
This task's completer, or null if none

pending
volatile int pending
The number of pending tasks until completion
Exception java.util.concurrent.ExecutionException
class ExecutionException extends Exception implements Serializable
serialVersionUID: 7830266012832686185L
Class java.util.concurrent.ForkJoinTask
class ForkJoinTask<V> extends Object implements Serializable
serialVersionUID: -7721805057305804111L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this task from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
status
volatile int status
Class java.util.concurrent.LinkedBlockingDeque
class LinkedBlockingDeque<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: -387911632671998426L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this deque from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
capacity
private final int capacity
Maximum number of items in the deque

lock
final ReentrantLock lock
Main lock guarding all access

notEmpty
private final Condition notEmpty
Condition for waiting takes

notFull
private final Condition notFull
Condition for waiting puts
Class java.util.concurrent.LinkedBlockingQueue
class LinkedBlockingQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: -6903933977591709194L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
capacity
private final int capacity
The capacity bound, or Integer.MAX_VALUE if none

count
private final AtomicInteger count
Current number of elements

notEmpty
private final Condition notEmpty
Wait queue for waiting takes

notFull
private final Condition notFull
Wait queue for waiting puts

putLock
private final ReentrantLock putLock
Lock held by put, offer, etc

takeLock
private final ReentrantLock takeLock
Lock held by take, poll, etc
Class java.util.concurrent.LinkedTransferQueue
class LinkedTransferQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: -3223113410248163686L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Class java.util.concurrent.PriorityBlockingQueue
class PriorityBlockingQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: 5595510919245408276L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
lock
private final ReentrantLock lock
Lock used for all public operations.

notEmpty
private final Condition notEmpty
Condition for blocking when empty.

q
private PriorityQueue<E> q
A plain PriorityQueue used only for serialization, to maintain compatibility with previous versions of this class. Non-null only during serialization/deserialization.
Class java.util.concurrent.RecursiveAction
class RecursiveAction extends ForkJoinTask<Void> implements Serializable
serialVersionUID: 5232453952276485070L
Class java.util.concurrent.RecursiveTask
class RecursiveTask<V> extends ForkJoinTask<V> implements Serializable
serialVersionUID: 5232453952276485270L
Serialized Fields
result
V result
The result of the computation.
Exception java.util.concurrent.RejectedExecutionException
class RejectedExecutionException extends RuntimeException implements Serializable
serialVersionUID: -375805702767069545L
Class java.util.concurrent.Semaphore
class Semaphore extends Object implements Serializable
serialVersionUID: -3222578661600680210L
Serialized Fields
sync
private final Semaphore.Sync sync
All mechanics via AbstractQueuedSynchronizer subclass
Class java.util.concurrent.SynchronousQueue
class SynchronousQueue<E> extends AbstractQueue<E> implements Serializable
serialVersionUID: -3223113410248163686L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this queue from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

writeObject
private void writeObject
throws
Saves this queue to a stream (that is, serializes it).
Parameters:
s - the stream
Throws:
IOException - if an I/O error occurs
Serialized Fields
qlock
private ReentrantLock qlock

waitingConsumers
private SynchronousQueue.WaitQueue waitingConsumers

waitingProducers
private SynchronousQueue.WaitQueue waitingProducers
Class java.util.concurrent.ThreadLocalRandom
class ThreadLocalRandom extends Random implements Serializable
serialVersionUID: -5851777807851030925L
Serialization Methods
readResolve
private Object 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:
IOException - if an I/O error occurs
Serialized Fields
initialized
boolean initialized
always true

rnd
long rnd
seed for random computations
Exception java.util.concurrent.TimeoutException
class TimeoutException extends Exception implements Serializable
serialVersionUID: 1900926677490660714L

Package java.util
Exception java.util.ConcurrentModificationException
class ConcurrentModificationException extends RuntimeException implements Serializable
serialVersionUID: -3666751008965953603L
Class java.util.Currency
class Currency extends Object implements Serializable
serialVersionUID: -158308464356906721L
Serialization Methods
readResolve
private Object 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.
Class java.util.Date
class Date extends Object implements Serializable
serialVersionUID: 7523967970034938905L
Serialization Methods
readObject
private void readObject
throws
Reconstitute this object from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Exception java.util.DuplicateFormatFlagsException
class DuplicateFormatFlagsException extends IllegalFormatException implements Serializable
serialVersionUID: 18890531L
Serialized Fields
flags
private String flags
Exception java.util.EmptyStackException
class EmptyStackException extends RuntimeException implements Serializable
serialVersionUID: 5084686378493302095L
Class java.util.EnumMap
class EnumMap<K extends Enum<K>,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: 458661240069192865L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the EnumMap instance from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Serialized Fields
keyType
private final Class<K> keyType
The Class object for the enum type of all the keys of this map.
Class java.util.EnumSet
class EnumSet<E extends Enum<E>> extends AbstractSet<E> implements Serializable
serialVersionUID: 1009687484059888093L
Serialization Methods
readObject
private void readObject
throws
Throws InvalidObjectException.
Parameters:
s - the stream
Throws:
InvalidObjectException - always

readObjectNoData
private void readObjectNoData
()
throws
Throws InvalidObjectException.
Throws:
InvalidObjectException - always

writeReplace
Object writeReplace
()
Returns a SerializationProxy representing the state of this instance.
Returns:
a EnumSet.SerializationProxy representing the state of this instance
Class java.util.EventObject
class EventObject extends Object implements Serializable
serialVersionUID: 5516075349620653480L
Exception java.util.FormatFlagsConversionMismatchException
class FormatFlagsConversionMismatchException extends IllegalFormatException implements Serializable
serialVersionUID: 19120414L
Serialized Fields
c
private char c

f
private String f
Exception java.util.FormatterClosedException
class FormatterClosedException extends IllegalStateException implements Serializable
serialVersionUID: 18111216L
Class java.util.GregorianCalendar
class GregorianCalendar extends Calendar implements Serializable
serialVersionUID: -8125100834729963327L
Serialization Methods
readObject
private void readObject
throws
Updates internal state.
Throws:
IOException
ClassNotFoundException
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.
Class java.util.HashMap
class HashMap<K,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: 362498820763181265L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this map from a stream (that is, deserializes it).
Parameters:
s - the stream
Throws:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
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).
Class java.util.HashSet
class HashSet<E> extends AbstractSet<E> implements Serializable
serialVersionUID: -5024744406713321676L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the HashSet instance from a stream (that is, deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Class java.util.Hashtable
class Hashtable<K,V> extends Dictionary<K,V> implements Serializable
serialVersionUID: 1421746759512286392L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the Hashtable from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
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).)
Class java.util.IdentityHashMap
class IdentityHashMap<K,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: 8188218128353913216L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes the IdentityHashMap instance from a stream (i.e., deserializes it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Serialized Fields
size
int size
The number of key-value mappings contained in this identity hash map.
Exception java.util.IllegalFormatCodePointException
class IllegalFormatCodePointException extends IllegalFormatException implements Serializable
serialVersionUID: 19080630L
Serialized Fields
c
private int c
Exception java.util.IllegalFormatConversionException
class IllegalFormatConversionException extends IllegalFormatException implements Serializable
serialVersionUID: 17000126L
Serialized Fields
arg
private Class<?> arg

c
private char c
Exception java.util.IllegalFormatException
class IllegalFormatException extends IllegalArgumentException implements Serializable
serialVersionUID: 18830826L
Exception java.util.IllegalFormatFlagsException
class IllegalFormatFlagsException extends IllegalFormatException implements Serializable
serialVersionUID: 790824L
Serialized Fields
flags
private String flags
Exception java.util.IllegalFormatPrecisionException
class IllegalFormatPrecisionException extends IllegalFormatException implements Serializable
serialVersionUID: 18711008L
Serialized Fields
p
private int p
Exception java.util.IllegalFormatWidthException
class IllegalFormatWidthException extends IllegalFormatException implements Serializable
serialVersionUID: 16660902L
Serialized Fields
w
private int w
Exception java.util.IllformedLocaleException
class IllformedLocaleException extends RuntimeException implements Serializable
serialVersionUID: -5245986824925681401L
Serialized Fields
_errIdx
private int _errIdx
Exception java.util.InputMismatchException
class InputMismatchException extends NoSuchElementException implements Serializable
serialVersionUID: 8811230760997066428L
Class java.util.LinkedHashMap
class LinkedHashMap<K,V> extends HashMap<K,V> implements Serializable
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.
Class java.util.LinkedHashSet
class LinkedHashSet<E> extends HashSet<E> implements Serializable
serialVersionUID: -2851667679971038690L
Class java.util.LinkedList
class LinkedList<E> extends AbstractSequentialList<E> implements Serializable
serialVersionUID: 876323262645176354L
Serialization Methods
readObject
private void readObject
throws
Reconstitutes this LinkedList instance from a stream (that is, deserializes it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Class java.util.Locale
class Locale extends Object implements Serializable
serialVersionUID: 9149081749638150636L
Serialization Methods
readObject
private void readObject
throws
Deserializes this Locale.
Parameters:
in - the ObjectInputStream to read
Throws:
IOException
ClassNotFoundException
IllformedLocaleException
Since:
1.7

readResolve
private Object readResolve
()
throws
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:
ObjectStreamException

writeObject
private void writeObject
throws
Serializes this Locale to the specified ObjectOutputStream.
Parameters:
out - the ObjectOutputStream to write
Throws:
IOException
Since:
1.7
Serialized Fields
country
String country
country subtag in upper case. (See getCountry())

extensions
String 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
String language
language subtag in lower case. (See getLanguage())

script
String script
script subtag in title case (See getScript())

variant
String variant
variant subtags separated by LOWLINE characters. (See getVariant())
Exception java.util.MissingFormatArgumentException
class MissingFormatArgumentException extends IllegalFormatException implements Serializable
serialVersionUID: 19190115L
Serialized Fields
s
private String s
Exception java.util.MissingFormatWidthException
class MissingFormatWidthException extends IllegalFormatException implements Serializable
serialVersionUID: 15560123L
Serialized Fields
s
private String s
Exception java.util.MissingResourceException
class MissingResourceException extends RuntimeException implements Serializable
serialVersionUID: -4876345176062000401L
Serialized Fields
className
private String className
The class name of the resource bundle requested by the user.

key
private String key
The name of the specific resource requested by the user.
Exception java.util.NoSuchElementException
class NoSuchElementException extends RuntimeException implements Serializable
serialVersionUID: 6769829250639411880L
Class java.util.PriorityQueue
class PriorityQueue<E> extends AbstractQueue<E> implements Serializable
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:
ClassNotFoundException - if the class of a serialized object could not be found
IOException - if an I/O error occurs

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:
IOException - if an I/O error occurs
Serialized Fields
comparator
private final Comparator<? super E> comparator
The comparator, or null if priority queue uses elements' natural ordering.

size
int size
The number of elements in the priority queue.
Class java.util.Properties
class Properties extends Hashtable<Object> implements Serializable
serialVersionUID: 4112578634029874840L
Serialized Fields
defaults
protected volatile Properties defaults
A property list that contains default values for any keys not found in this property list.
Class java.util.Random
class Random extends Object implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if a serialized class cannot be loaded

writeObject
private void writeObject
throws
Save the Random instance to a stream.
Parameters:
s - the ObjectOutputStream to which data is written
Throws:
IOException - if an I/O error occurs
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
Error java.util.ServiceConfigurationError
class ServiceConfigurationError extends Error implements Serializable
serialVersionUID: 74132770414881L
Class java.util.SimpleTimeZone
class SimpleTimeZone extends TimeZone implements Serializable
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:
IOException
ClassNotFoundException

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:
IOException
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.
Class java.util.Stack
class Stack<E> extends Vector<E> implements Serializable
serialVersionUID: 1224463164541339165L
Class java.util.TimeZone
class TimeZone extends Object implements Serializable
serialVersionUID: 3581463369166924961L
Serialized Fields
ID
private String 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.
Exception java.util.TooManyListenersException
class TooManyListenersException extends Exception implements Serializable
serialVersionUID: 5074640544770687831L
Class java.util.TreeMap
class TreeMap<K,V> extends AbstractMap<K,V> implements Serializable
serialVersionUID: 919286545866124006L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the TreeMap instance from a stream (i.e., deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Serialized Fields
comparator
private final Comparator<? super K> comparator
The comparator used to maintain order in this tree map, or null if it uses the natural ordering of its keys.
Class java.util.TreeSet
class TreeSet<E> extends AbstractSet<E> implements Serializable
serialVersionUID: -2479143000061671589L
Serialization Methods
readObject
private void readObject
throws
Reconstitute the TreeSet instance from a stream (that is, deserialize it).
Throws:
IOException
ClassNotFoundException

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:
IOException
Exception java.util.UnknownFormatConversionException
class UnknownFormatConversionException extends IllegalFormatException implements Serializable
serialVersionUID: 19060418L
Serialized Fields
s
private String s
Exception java.util.UnknownFormatFlagsException
class UnknownFormatFlagsException extends IllegalFormatException implements Serializable
serialVersionUID: 19370506L
Serialized Fields
flags
private String flags
Class java.util.UUID
class UUID extends Object implements Serializable
serialVersionUID: -4856846361193249489L
Serialized Fields
leastSigBits
private final long leastSigBits

mostSigBits
private final long mostSigBits
Class java.util.Vector
class Vector<E> extends AbstractList<E> implements Serializable
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:
IOException - if an I/O error occurs
ClassNotFoundException - if the stream contains data of a non-existing class

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:
IOException - if an I/O error occurs
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.


Package javax.xml.catalog
Exception javax.xml.catalog.CatalogException
class CatalogException extends RuntimeException implements Serializable
serialVersionUID: 653231525876459057L

Module 
Package 
Class 
Use 
PREV   NEXT      All Classes   All Packages
FlexDoc/Javadoc 2.0
Demo Java Doc

Java API documentation generated with FlexDoc/Javadoc 2.0 using JavadocClassic 3.0 template set.
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