Class JsMap

java.lang.Object
com.intuit.karate.graal.JsMap
All Implemented Interfaces:
Map, org.graalvm.polyglot.proxy.Proxy, org.graalvm.polyglot.proxy.ProxyObject
Direct Known Subclasses:
JsXml

public class JsMap extends Object implements org.graalvm.polyglot.proxy.ProxyObject, Map
Author:
pthomas3
  • Field Details

    • EMPTY

      public static final JsMap EMPTY
  • Constructor Details

    • JsMap

      public JsMap(Map map)
  • Method Details

    • getMap

      public Map getMap()
    • getMember

      public Object getMember(String key)
      Specified by:
      getMember in interface org.graalvm.polyglot.proxy.ProxyObject
    • getMemberKeys

      public Object getMemberKeys()
      Specified by:
      getMemberKeys in interface org.graalvm.polyglot.proxy.ProxyObject
    • hasMember

      public boolean hasMember(String key)
      Specified by:
      hasMember in interface org.graalvm.polyglot.proxy.ProxyObject
    • putMember

      public void putMember(String key, org.graalvm.polyglot.Value value)
      Specified by:
      putMember in interface org.graalvm.polyglot.proxy.ProxyObject
    • removeMember

      public boolean removeMember(String key)
      Specified by:
      removeMember in interface org.graalvm.polyglot.proxy.ProxyObject
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • size

      public int size()
      Specified by:
      size in interface Map
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Map
    • containsKey

      public boolean containsKey(Object key)
      Specified by:
      containsKey in interface Map
    • containsValue

      public boolean containsValue(Object value)
      Specified by:
      containsValue in interface Map
    • get

      public Object get(Object key)
      Specified by:
      get in interface Map
    • put

      public Object put(Object key, Object value)
      Specified by:
      put in interface Map
    • remove

      public Object remove(Object key)
      Specified by:
      remove in interface Map
    • putAll

      public void putAll(Map m)
      Specified by:
      putAll in interface Map
    • clear

      public void clear()
      Specified by:
      clear in interface Map
    • keySet

      public Set keySet()
      Specified by:
      keySet in interface Map
    • values

      public Collection values()
      Specified by:
      values in interface Map
    • entrySet

      public Set entrySet()
      Specified by:
      entrySet in interface Map