FileRevisionTimestampComparator (final long timestamp) { return new FileRevisionTimestampComparator() { @Override public boolean isSuitable(long revisionTimestamp) { return revisionTimestamp == timestamp; } }; }