Uses of Class
org.htmlunit.corejs.javascript.Slot
Packages that use Slot
-
Uses of Slot in org.htmlunit.corejs.javascript
Classes in org.htmlunit.corejs.javascript with type parameters of type SlotModifier and TypeInterfaceDescriptionstatic interfaceSlotMap.SlotComputer<S extends Slot<T>,T extends PropHolder<T>> Subclasses of Slot in org.htmlunit.corejs.javascriptModifier and TypeClassDescriptionclassThis is a specialization of Slot to store various types of values that are retrieved dynamically using Java and JavaScript functions.classBuiltInSlot<T extends ScriptableObject>This is a specialization of property access using some lambda functions designed for properties on built in objects that may be created extremely frequently.classCompactSlot<T extends CompactSlot.Descriptor<T,U, O>, U extends PropHolder<U>, O extends ScriptableObject> classA specialized property accessor using lambda functions, similar toLambdaSlot, but allows defining properties with getter and setter lambdas that require access to the owner object ('this').classThis is a specialization of property access using some lambda functions.classLazyLoadSlot<T extends PropHolder<T>>This is a specialization of Slot to store values that are retrieved via calls to script functions.classStandardSlot<T extends PropHolder<T>>A Slot is the base class for all properties stored in the ScriptableObject class.Fields in org.htmlunit.corejs.javascript declared as SlotModifier and TypeFieldDescriptionImmutableSmallSlotMap.slot0ImmutableSmallSlotMap.slot1ImmutableSmallSlotMap.slot2ImmutableSmallSlotMap.slot3Methods in org.htmlunit.corejs.javascript with type parameters of type SlotModifier and TypeMethodDescriptionCompoundOperationMap.compute(SlotMapOwner<T> owner, Object key, int index, SlotMap.SlotComputer<S, T> compute) CompoundOperationMap.compute(SlotMapOwner<T> owner, CompoundOperationMap<T> compoundOp, Object key, int index, SlotMap.SlotComputer<S, T> compute) EmbeddedSlotMap.compute(SlotMapOwner<T> owner, CompoundOperationMap<T> compoundOp, Object key, int index, SlotMap.SlotComputer<S, T> c) HashSlotMap.compute(SlotMapOwner<T> owner, CompoundOperationMap<T> compoundOp, Object key, int index, SlotMap.SlotComputer<S, T> c) ImmutableSmallSlotMap.compute(SlotMapOwner<T> owner, CompoundOperationMap<T> mutableMap, Object key, int index, SlotMap.SlotComputer<S, T> compute) SlotMap.compute(SlotMapOwner<T> owner, Object key, int index, SlotMap.SlotComputer<S, T> compute) Replace the value of key with the slot computed by the "compute" method.SlotMap.compute(SlotMapOwner<T> owner, CompoundOperationMap<T> mutableMap, Object key, int index, SlotMap.SlotComputer<S, T> compute) Methods in org.htmlunit.corejs.javascript that return SlotModifier and TypeMethodDescriptionprotected static <T extends PropHolder<T>>
Slot<T>ScriptableObject.checkSlotRemoval(Object key, int index, Slot<T> slot, CompoundOperationMap<T> compoundOp, SlotMapOwner<T> owner) CompoundOperationMap.modify(SlotMapOwner<T> owner, Object key, int index, int attributes) EmbeddedSlotMap.modify(SlotMapOwner<T> owner, Object key, int index, int attributes) Locate the slot with given name or index, and create a new one if necessary.HashSlotMap.modify(SlotMapOwner<T> owner, Object key, int index, int attributes) ImmutableSmallSlotMap.modify(SlotMapOwner<T> owner, Object key, int index, int attributes) SlotMap.modify(SlotMapOwner<T> owner, Object key, int index, int attributes) Return the Slot that matches EITHER "key" or "index".Locate the slot with the given name or index.Retrieve the slot at EITHER key or index, or return null if the slot cannot be found.protected final Slot<Scriptable>Methods in org.htmlunit.corejs.javascript that return types with arguments of type SlotModifier and TypeMethodDescriptionCompoundOperationMap.iterator()EmbeddedSlotMap.iterator()HashSlotMap.iterator()ImmutableSmallSlotMap.iterator()Methods in org.htmlunit.corejs.javascript with parameters of type SlotModifier and TypeMethodDescriptionvoidCompoundOperationMap.add(SlotMapOwner<T> owner, Slot<T> newSlot) voidEmbeddedSlotMap.add(SlotMapOwner<T> owner, Slot<T> newSlot) voidHashSlotMap.add(SlotMapOwner<T> owner, Slot<T> newSlot) voidImmutableSmallSlotMap.add(SlotMapOwner<T> owner, Slot<T> newSlot) voidSlotMap.add(SlotMapOwner<T> owner, Slot<T> newSlot) Insert a new slot to the map.protected final voidScriptableObject.checkPropertyChangeForSlot(Object id, Slot<?> current, ScriptableObject desc) protected final voidScriptableObject.checkPropertyChangeForSlot(Object id, Slot<?> current, ScriptableObject.DescriptorInfo info) protected static <T extends PropHolder<T>>
Slot<T>ScriptableObject.checkSlotRemoval(Object key, int index, Slot<T> slot, CompoundOperationMap<T> compoundOp, SlotMapOwner<T> owner) SlotMap.SlotComputer.compute(Object key, int index, Slot<T> existing, CompoundOperationMap<T> mutableMap, SlotMapOwner<T> owner) protected voidEmbeddedSlotMap.promoteMap(SlotMapOwner<T> owner, Slot<T> newSlot) Constructors in org.htmlunit.corejs.javascript with parameters of type Slot