question: private int indexOf ( String fullPath ) { for ( int i = 0 , length = this . relativePaths . length ; i < length ; i ++ ) { String currentRelativePath = this . relativePaths [ i ] ; if ( currentRelativePath == null ) continue ; String currentContainerPath = this . containerPaths [ i ] ; String currentFullPath = currentRelativePath . length ( ) == 0 ? currentContainerPath : ( currentContainerPath + '/' + currentRelativePath ) ; if ( encloses ( currentFullPath , fullPath , i ) ) return i ; } return - 1 ; }
target:  Returns paths list index of given path or -1 if not found. NOTE: Use indexOf(String, String) for path inside jars