public synchronized void removeIndexFamily(IPath path){
  ArrayList toRemove=null;
  Object[] containerPaths=this.indexLocations.keyTable;
  for (int i=0, length=containerPaths.length; i < length; i++) {
    IPath containerPath=(IPath)containerPaths[i];
    if (containerPath == null)     continue;
    if (path.isPrefixOf(containerPath)) {
      if (toRemove == null)       toRemove=new ArrayList();
      toRemove.add(containerPath);
    }
  }
  if (toRemove != null)   for (int i=0, length=toRemove.size(); i < length; i++)   removeIndex((IPath)toRemove.get(i));
}

public synchronized void removeIndexFamily ( IPath path ) { ArrayList toRemove = null ; Object [ ] containerPaths = this . indexLocations . keyTable ; for ( int i = 0 , length = containerPaths . length ; i < length ; i ++ ) { IPath containerPath = ( IPath ) containerPaths [ i ] ; if ( containerPath == null ) continue ; if ( path . isPrefixOf ( containerPath ) ) { if ( toRemove == null ) toRemove = new ArrayList ( ) ; toRemove . add ( containerPath ) ; } } if ( toRemove != null ) for ( int i = 0 , length = toRemove . size ( ) ; i < length ; i ++ ) removeIndex ( ( IPath ) toRemove . get ( i ) ) ; }
removes all indexes whose paths start with ( or are equal to ) the given path .
