finds the file with the given filename and returns its index . returns -1 when the file was not found . concode_field_sep List<SketchFile> files concode_elem_sep Comparator<SketchFile> CODE_DOCS_COMPARATOR concode_elem_sep File folder concode_elem_sep String DEFAULT_SKETCH_EXTENSION concode_elem_sep List<String> OTHER_ALLOWED_EXTENSIONS concode_elem_sep List<String> SKETCH_EXTENSIONS concode_elem_sep List<String> OLD_SKETCH_EXTENSIONS concode_elem_sep List<String> EXTENSIONS concode_elem_sep File buildPath concode_field_sep void checkNewFilename concode_elem_sep int compare concode_elem_sep String getName concode_elem_sep void renameTo concode_elem_sep void saveAs concode_elem_sep void save concode_elem_sep File getDataFolder concode_elem_sep File checkNewFoldername concode_elem_sep SketchFile[] getFiles concode_elem_sep SketchFile getFile concode_elem_sep void delete concode_elem_sep File prepareDataFolder concode_elem_sep File getFolder concode_elem_sep SketchFile getPrimaryFile concode_elem_sep boolean reload concode_elem_sep void removeFile concode_elem_sep boolean isModified concode_elem_sep String getMainFilePath concode_elem_sep File getBuildPath concode_elem_sep File checkSketchFile concode_elem_sep List<SketchFile> listSketchFiles concode_elem_sep SketchFile addFile concode_elem_sep int getCodeCount
int function ( File arg0 ) { int loc0 = 0 ; for ( SketchFile loc1 : files ) { if ( loc1 . getFile ( ) . equals ( arg0 ) ) return loc0 ; loc0 ++ ; } return - 1 ; }