Class VmListing


  • public final class VmListing
    extends VmObject
    • Constructor Detail

      • VmListing

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

      • isDefaultProperty

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

        public int getLength()
      • isEmpty

        public boolean isEmpty()
      • export

        public java.util.List<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
      • 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​(@Nullable 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