code: synchronized Route<TRANS> findOrCreate(HttpMethods  meth, String path) {
  		Route<TRANS> rv = null;
  		for(int i=0;i<end;++i) {
  			if(routes[i].resolvesTo(meth,path))rv = routes[i];
  		}
  		
  		if(rv==null) {
  			if(end>=routes.length) {
  				@SuppressWarnings("unchecked")
  				Route<TRANS>[] temp = new Route[end+10];
  				System.arraycopy(routes, 0, temp, 0, routes.length);
  				routes = temp;
  			}
  			
  			routes[end++]=rv=new Route<TRANS>(meth,path);
  		}
  		return rv;
  	}
docs: Package on purpose