| Constructor and Description |
|---|
EmbeddedSlotMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSlot(org.mozilla.javascript.ScriptableObject.Slot newSlot)
Insert a new slot to the map.
|
org.mozilla.javascript.ScriptableObject.Slot |
get(java.lang.Object key,
int index,
org.mozilla.javascript.ScriptableObject.SlotAccess accessType)
Locate the slot with given name or index.
|
boolean |
isEmpty()
Return whether the map is empty.
|
java.util.Iterator<org.mozilla.javascript.ScriptableObject.Slot> |
iterator() |
org.mozilla.javascript.ScriptableObject.Slot |
query(java.lang.Object key,
int index)
Locate the slot with the given name or index.
|
void |
remove(java.lang.Object key,
int index)
Remove the slot at either "key" or "index".
|
int |
size()
Return the size of the map.
|
public int size()
SlotMappublic boolean isEmpty()
SlotMappublic java.util.Iterator<org.mozilla.javascript.ScriptableObject.Slot> iterator()
iterator in interface java.lang.Iterable<org.mozilla.javascript.ScriptableObject.Slot>public org.mozilla.javascript.ScriptableObject.Slot query(java.lang.Object key,
int index)
public org.mozilla.javascript.ScriptableObject.Slot get(java.lang.Object key,
int index,
org.mozilla.javascript.ScriptableObject.SlotAccess accessType)
public void addSlot(org.mozilla.javascript.ScriptableObject.Slot newSlot)
SlotMapCopyright © 2010 - 2023 Adobe. All Rights Reserved