Module org.htmlunit.corejs
Package org.htmlunit.corejs.javascript
Class Slot<T extends PropHolder<T>>
java.lang.Object
org.htmlunit.corejs.javascript.Slot<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompactSlot,StandardSlot
A Slot is the base class for all properties stored in the ScriptableObject class. There are a
number of different types of slots. This base class represents an "ordinary" property such as a
primitive type or another object. Separate classes are used to represent properties that have
various types of getter and setter methods.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intabstract ObjectgetKey()abstract ObjectgetName()abstract booleankeyMatches(Object key, int indexOrHash) final booleanabstract booleanprotected abstract voidthrowNoSetterException(T start, Object newValue)
-
Constructor Details
-
Slot
-
-
Method Details
-
setValue
-
setValue
-
getValue
-
throwNoSetterException
-
keyMatches
-
getKey
-
getName
-
getIndexOrHash
public abstract int getIndexOrHash()
-