Class JSArrayIteratorObject

All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSArrayIteratorObject extends JSNonProxyObject
  • Constructor Details

    • JSArrayIteratorObject

      protected JSArrayIteratorObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, Object iteratedObject, long nextIndex, int iterationKind)
  • Method Details

    • getIterationKind

      public int getIterationKind()
    • getIteratedObject

      public Object getIteratedObject()
    • setIteratedObject

      public void setIteratedObject(Object iteratedObject)
    • getNextIndex

      public long getNextIndex()
    • setNextIndex

      public void setNextIndex(long nextIndex)
    • getClassName

      public com.oracle.truffle.api.strings.TruffleString getClassName()
      Description copied from class: JSDynamicObject
      The [[Class]] internal property. For ES5, this is the second part of what Object.prototype.toString.call(myObj) returns, e.g. "[object Array]".
      Overrides:
      getClassName in class JSNonProxyObject