Class VMBridge_jdk15

    • Constructor Summary

      Constructors 
      Constructor Description
      VMBridge_jdk15()  
    • 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.
      boolean isVarArgs​(java.lang.reflect.Member member)  
      • Methods inherited from class java.lang.Object

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

      • VMBridge_jdk15

        public VMBridge_jdk15()
                       throws java.lang.SecurityException,
                              java.lang.InstantiationException
        Throws:
        java.lang.SecurityException
        java.lang.InstantiationException
    • Method Detail

      • isVarArgs

        public boolean isVarArgs​(java.lang.reflect.Member member)
      • 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.
        Overrides:
        getJavaIterator in class VMBridge