Class UniqueTag

java.lang.Object
org.mozilla.javascript.UniqueTag
All Implemented Interfaces:
Serializable

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

See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • ID_NOT_FOUND

      private static final int ID_NOT_FOUND
      See Also:
    • ID_NULL_VALUE

      private static final int ID_NULL_VALUE
      See Also:
    • ID_DOUBLE_MARK

      private static final int ID_DOUBLE_MARK
      See Also:
    • 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.
    • DOUBLE_MARK

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

      private final int tagId
  • Constructor Details

    • UniqueTag

      private UniqueTag(int tagId)
  • Method Details