protected boolean containsURL(URL url){
  if (_urls != null) {
    for (    URL testURL : _urls) {
      if (url.equals(testURL))       return true;
    }
  }
  ClassLoader parent=getParent();
  if (parent instanceof DynamicClassLoader) {
    DynamicClassLoader dynParent=(DynamicClassLoader)parent;
    if (dynParent.containsURL(url)) {
      return true;
    }
  }
  for (  DynamicClassLoader loaderImport : _importLoaders) {
    if (loaderImport.containsURL(url)) {
      return true;
    }
  }
  return false;
}

protected boolean containsURL ( URL url ) { if ( _urls != null ) { for ( URL testURL : _urls ) { if ( url . equals ( testURL ) ) return true ; } } ClassLoader parent = getParent ( ) ; if ( parent instanceof DynamicClassLoader ) { DynamicClassLoader dynParent = ( DynamicClassLoader ) parent ; if ( dynParent . containsURL ( url ) ) { return true ; } } for ( DynamicClassLoader loaderImport : _importLoaders ) { if ( loaderImport . containsURL ( url ) ) { return true ; } } return false ; }
returns true if the loader contains the url .
