Class SymbolKey

java.lang.Object
org.htmlunit.corejs.javascript.SymbolKey
All Implemented Interfaces:
Serializable, Symbol

public class SymbolKey extends Object implements Symbol, Serializable
A SymbolKey is one of the implementations of Symbol. It is really there so that we can easily use pre-defined symbols as keys in native code. A SymbolKey has the special property that two NativeSymbol objects with the same key are equal.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • ITERATOR

      public static final SymbolKey ITERATOR
    • TO_STRING_TAG

      public static final SymbolKey TO_STRING_TAG
    • SPECIES

      public static final SymbolKey SPECIES
    • HAS_INSTANCE

      public static final SymbolKey HAS_INSTANCE
    • IS_CONCAT_SPREADABLE

      public static final SymbolKey IS_CONCAT_SPREADABLE
    • IS_REGEXP

      public static final SymbolKey IS_REGEXP
    • TO_PRIMITIVE

      public static final SymbolKey TO_PRIMITIVE
    • MATCH

      public static final SymbolKey MATCH
    • REPLACE

      public static final SymbolKey REPLACE
    • SPLIT

      public static final SymbolKey SPLIT
    • UNSCOPABLES

      public static final SymbolKey UNSCOPABLES
    • name

      private String name
  • Constructor Details

    • SymbolKey

      public SymbolKey(String name)
  • Method Details