org.mozilla.javascript

Class UniqueTag

public final class UniqueTag extends Object implements Serializable

Class instances represent serializable tags to mark special Object values.

Compatibility note: under jdk 1.1 use org.mozilla.javascript.serialize.ScriptableInputStream to read serialized instances of UniqueTag as under this JDK version the default ObjectInputStream would not restore them correctly as it lacks support for readResolve method

Field Summary
static UniqueTagDOUBLE_MARK
Tag to indicate that a object represents "double" with the real value stored somewhere else.
static UniqueTagNOT_FOUND
Tag to mark non-existing values.
static UniqueTagNULL_VALUE
Tag to distinguish between uninitialized and null values.
Method Summary
ObjectreadResolve()
StringtoString()

Field Detail

DOUBLE_MARK

public static final UniqueTag DOUBLE_MARK
Tag to indicate that a object represents "double" with the real value stored somewhere else.

NOT_FOUND

public static final UniqueTag NOT_FOUND
Tag to mark non-existing values.

NULL_VALUE

public static final UniqueTag NULL_VALUE
Tag to distinguish between uninitialized and null values.

Method Detail

readResolve

public Object readResolve()

toString

public String toString()