Package com.intuit.karate.graal
Class JsMap
- java.lang.Object
-
- com.intuit.karate.graal.JsMap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)SetentrySet()Objectget(Object key)MapgetMap()ObjectgetMember(String key)ObjectgetMemberKeys()booleanhasMember(String key)booleanisEmpty()SetkeySet()Objectput(Object key, Object value)voidputAll(Map m)voidputMember(String key, org.graalvm.polyglot.Value value)Objectremove(Object key)booleanremoveMember(String key)intsize()StringtoString()Collectionvalues()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
EMPTY
public static final JsMap EMPTY
-
-
Constructor Detail
-
JsMap
public JsMap(Map map)
-
-
Method Detail
-
getMap
public Map getMap()
-
getMember
public Object getMember(String key)
- Specified by:
getMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
getMemberKeys
public Object getMemberKeys()
- Specified by:
getMemberKeysin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
hasMember
public boolean hasMember(String key)
- Specified by:
hasMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
putMember
public void putMember(String key, org.graalvm.polyglot.Value value)
- Specified by:
putMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
removeMember
public boolean removeMember(String key)
- Specified by:
removeMemberin interfaceorg.graalvm.polyglot.proxy.ProxyObject
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap
-
values
public Collection values()
-
-