| Constructor and Description |
|---|
EmbeddedSlotMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSlot(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot newSlot)
Insert a new slot to the map.
|
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot |
get(java.lang.Object key,
int index,
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.SlotAccess accessType)
Locate the slot with given name or index.
|
boolean |
isEmpty()
Return whether the map is empty.
|
java.util.Iterator<net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot> |
iterator() |
net.sourceforge.htmlunit.corejs.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<net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot> iterator()
iterator in interface java.lang.Iterable<net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot>public net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot query(java.lang.Object key,
int index)
public net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot get(java.lang.Object key,
int index,
net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.SlotAccess accessType)
public void addSlot(net.sourceforge.htmlunit.corejs.javascript.ScriptableObject.Slot newSlot)
SlotMap