Class VmMapping


  • public final class VmMapping
    extends VmObject
    • Constructor Detail

      • VmMapping

        public VmMapping​(com.oracle.truffle.api.frame.MaterializedFrame enclosingFrame,
                         VmObject parent,
                         org.graalvm.collections.UnmodifiableEconomicMap<java.lang.Object,​ObjectMember> members)
    • Method Detail

      • isDefaultProperty

        public static boolean isDefaultProperty​(java.lang.Object propertyKey)
      • getAllKeys

        public VmSet getAllKeys()
      • export

        public java.util.Map<java.lang.Object,​java.lang.Object> export()
        Description copied from class: VmObjectLike
        Exports this object to an external representation. Does not export local, hidden, or external properties
        Specified by:
        export in class VmObjectLike
      • toMap

        public java.util.Map<java.lang.Object,​java.lang.Object> toMap()
      • accept

        public <T> T accept​(VmValueConverter<T> converter,
                            java.lang.Iterable<java.lang.Object> path)
        Specified by:
        accept in class VmValue
      • equals

        public boolean equals​(java.lang.Object obj)
        Description copied from class: VmValue
        Enables calling `vmValue.equals()` when not behind a Truffle boundary.
        Specified by:
        equals in class VmValue
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getEntryCount

        public int getEntryCount()