private SimMap checkCache(Settings settings){
  int nrofMapFiles=settings.getInt(NROF_FILES_S);
  if (nrofMapFiles != cachedMapFiles.size() || cachedMap == null) {
    return null;
  }
  for (int i=1; i <= nrofMapFiles; i++) {
    String pathFile=settings.getSetting(FILE_S + i);
    if (!pathFile.equals(cachedMapFiles.get(i - 1))) {
      return null;
    }
  }
  return cachedMap;
}

private SimMap checkCache ( Settings settings ) { int nrofMapFiles = settings . getInt ( NROF_FILES_S ) ; if ( nrofMapFiles != cachedMapFiles . size ( ) || cachedMap == null ) { return null ; } for ( int i = 1 ; i <= nrofMapFiles ; i ++ ) { String pathFile = settings . getSetting ( FILE_S + i ) ; if ( ! pathFile . equals ( cachedMapFiles . get ( i - 1 ) ) ) { return null ; } } return cachedMap ; }
checks map cache if the requested map file ( s ) match to the cached sim map
