Class 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 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:
        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
      • 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
      • 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
      • entrySet

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