Logo Search packages:      
Sourcecode: jamvm version File versions

final boolean java::lang::ClassLoader::isAncestorOf ( ClassLoader  loader  )  [inline, package]

Return true if this loader is either the specified class loader or an ancestor thereof.

loader the class loader to check

Definition at line 929 of file ClassLoader.java.

References parent.

Referenced by getParent().

    while (loader != null)
      if (this == loader)
        return true;
      loader = loader.parent;
    return false;

Generated by  Doxygen 1.6.0   Back to index