Compare two Resources.paramfoo the first Resource.parambar the second Resource.returna negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second. return (int) (foo.getLastModified() - bar.getLastModified());
return (int) (foo.getLastModified() - bar.getLastModified());