public static Vector<String> findPackages(){
  Vector<String> result;
  Enumeration<String> packages;
  initCache();
  result=new Vector<String>();
  packages=m_ClassCache.packages();
  while (packages.hasMoreElements()) {
    result.add(packages.nextElement());
  }
  Collections.sort(result,new StringCompare());
  return result;
}

public static Vector < String > findPackages ( ) { Vector < String > result ; Enumeration < String > packages ; initCache ( ) ; result = new Vector < String > ( ) ; packages = m_ClassCache . packages ( ) ; while ( packages . hasMoreElements ( ) ) { result . add ( packages . nextElement ( ) ) ; } Collections . sort ( result , new StringCompare ( ) ) ; return result ; }
lists all packages it can find in the classpath .
