Class VMBridge

  • Direct Known Subclasses:
    VMBridge_jdk13

    public abstract class VMBridge
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      VMBridge()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<?> getJavaIterator​(Context cx, Scriptable scope, java.lang.Object obj)
      If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VMBridge

        public VMBridge()
    • Method Detail

      • getJavaIterator

        public java.util.Iterator<?> getJavaIterator​(Context cx,
                                                     Scriptable scope,
                                                     java.lang.Object obj)
        If "obj" is a java.util.Iterator or a java.lang.Iterable, return a wrapping as a JavaScript Iterator. Otherwise, return null. This method is in VMBridge since Iterable is a JDK 1.5 addition.