Reorganized SAM-related test data.

This commit is contained in:
Evgeny Gerashchenko
2013-06-27 23:10:09 +04:00
parent 8a51f908f7
commit e017645c97
130 changed files with 364 additions and 358 deletions

View File

@@ -0,0 +1,9 @@
import java.util.*;
class JavaClass {
public static String findMaxAndInvokeCallback(Comparator<String> comparator, String a, String b, Runnable afterRunnable) {
int compare = comparator.compare(a, b);
afterRunnable.run();
return compare > 0 ? a : b;
}
}