public class ScriptableLinkedHashMap<K,V> extends LinkedHashMap<K,V> implements ScriptableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ScriptableLinkedHashMap() |
ScriptableLinkedHashMap(int initialCapacity) |
ScriptableLinkedHashMap(Map<K,V> source) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int index) |
void |
delete(String name) |
Object |
get(int index,
org.mozilla.javascript.Scriptable start) |
Object |
get(String name,
org.mozilla.javascript.Scriptable start) |
String |
getClassName() |
Object |
getDefaultValue(Class hint) |
Object[] |
getIds() |
org.mozilla.javascript.Scriptable |
getParentScope() |
org.mozilla.javascript.Scriptable |
getPrototype() |
boolean |
has(int index,
org.mozilla.javascript.Scriptable start) |
boolean |
has(String name,
org.mozilla.javascript.Scriptable start) |
boolean |
hasInstance(org.mozilla.javascript.Scriptable instance) |
void |
put(int index,
org.mozilla.javascript.Scriptable start,
Object value) |
void |
put(String name,
org.mozilla.javascript.Scriptable start,
Object value) |
void |
setParentScope(org.mozilla.javascript.Scriptable parent) |
void |
setPrototype(org.mozilla.javascript.Scriptable prototype) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic ScriptableLinkedHashMap()
public ScriptableLinkedHashMap(int initialCapacity)
public String getClassName()
getClassName in interface org.mozilla.javascript.ScriptableScriptable.getClassName()public Object get(String name, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.ScriptableScriptable.get(java.lang.String, org.mozilla.javascript.Scriptable)public Object get(int index, org.mozilla.javascript.Scriptable start)
get in interface org.mozilla.javascript.ScriptableScriptable.get(int, org.mozilla.javascript.Scriptable)public boolean has(String name, org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.ScriptableScriptable.has(java.lang.String, org.mozilla.javascript.Scriptable)public boolean has(int index,
org.mozilla.javascript.Scriptable start)
has in interface org.mozilla.javascript.ScriptableScriptable.has(int, org.mozilla.javascript.Scriptable)public void put(String name, org.mozilla.javascript.Scriptable start, Object value)
put in interface org.mozilla.javascript.ScriptableScriptable.put(java.lang.String, org.mozilla.javascript.Scriptable, java.lang.Object)public void put(int index,
org.mozilla.javascript.Scriptable start,
Object value)
put in interface org.mozilla.javascript.ScriptableScriptable.put(int, org.mozilla.javascript.Scriptable, java.lang.Object)public void delete(String name)
delete in interface org.mozilla.javascript.ScriptableScriptable.delete(java.lang.String)public void delete(int index)
delete in interface org.mozilla.javascript.ScriptableScriptable.delete(int)public org.mozilla.javascript.Scriptable getPrototype()
getPrototype in interface org.mozilla.javascript.ScriptableScriptable.getPrototype()public void setPrototype(org.mozilla.javascript.Scriptable prototype)
setPrototype in interface org.mozilla.javascript.ScriptableScriptable.setPrototype(org.mozilla.javascript.Scriptable)public org.mozilla.javascript.Scriptable getParentScope()
getParentScope in interface org.mozilla.javascript.ScriptableScriptable.getParentScope()public void setParentScope(org.mozilla.javascript.Scriptable parent)
setParentScope in interface org.mozilla.javascript.ScriptableScriptable.setParentScope(org.mozilla.javascript.Scriptable)public Object[] getIds()
getIds in interface org.mozilla.javascript.ScriptableScriptable.getIds()public Object getDefaultValue(Class hint)
getDefaultValue in interface org.mozilla.javascript.ScriptableScriptable.getDefaultValue(java.lang.Class)public boolean hasInstance(org.mozilla.javascript.Scriptable instance)
hasInstance in interface org.mozilla.javascript.ScriptableScriptable.hasInstance(org.mozilla.javascript.Scriptable)Copyright © 2009–2017. All rights reserved.