private int indexOf(String containerPath,String relativePath){
  int length=this.containerPaths.length, index=(containerPath.hashCode() & 0x7FFFFFFF) % length;
  String currentContainerPath;
  while ((currentContainerPath=this.containerPaths[index]) != null) {
    if (currentContainerPath.equals(containerPath)) {
      String currentRelativePath=this.relativePaths[index];
      if (encloses(currentRelativePath,relativePath,index))       return index;
    }
    if (++index == length) {
      index=0;
    }
  }
  return -1;
}

private int indexOf ( String containerPath , String relativePath ) { int length = this . containerPaths . length , index = ( containerPath . hashCode ( ) & 0x7FFFFFFF ) % length ; String currentContainerPath ; while ( ( currentContainerPath = this . containerPaths [ index ] ) != null ) { if ( currentContainerPath . equals ( containerPath ) ) { String currentRelativePath = this . relativePaths [ index ] ; if ( encloses ( currentRelativePath , relativePath , index ) ) return index ; } if ( ++ index == length ) { index = 0 ; } } return - 1 ; }
returns paths list index of given path or - 1 if not found .
