Located in compilation unit of java.
Modifier and Type | Field and Description |
---|---|
private transient Object[] | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
pack-priv static final int | |
private static final long | |
private final int | tag
Indicates the type of collection that is serialized. |
Modifier and Type | Method and Description |
---|---|
private void | readObject(ObjectInputStream
the ObjectInputStream from which data is read ois)Reads objects from the stream and stores them
in the transient |
private Object | Returns: a collection created from this proxy objectCreates and returns an immutable collection from this proxy class. |
private void | writeObject(ObjectOutputStream
the ObjectOutputStream to which data is written oos)Writes objects to the stream from
the transient |
array | back to summary |
---|---|
private transient Object[] array
|
IMM_LIST | back to summary |
---|---|
pack-priv static final int IMM_LIST |
IMM_LIST_NULLS | back to summary |
---|---|
pack-priv static final int IMM_LIST_NULLS |
IMM_MAP | back to summary |
---|---|
pack-priv static final int IMM_MAP |
IMM_SET | back to summary |
---|---|
pack-priv static final int IMM_SET |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID
|
tag | back to summary |
---|---|
private final int tag Indicates the type of collection that is serialized.
The low order 8 bits have the value 1 for an immutable
The tag value also determines the interpretation of the
transient For
|
CollSer | back to summary |
---|---|
pack-priv CollSer(int t, Object... a) |
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException Reads objects from the stream and stores them
in the transient
|
readResolve | back to summary |
---|---|
private Object readResolve() throws ObjectStreamException Creates and returns an immutable collection from this proxy class. The instance returned is created as if by calling one of the static factory methods for List, Map, or Set. This proxy class is the serial form for all immutable collection instances, regardless of implementation type. This is necessary to ensure that the existence of any particular implementation type is kept out of the serialized form.
|
writeObject | back to summary |
---|---|
private void writeObject(ObjectOutputStream oos) throws IOException Writes objects to the stream from
the transient
|