public static void get10000(List list) { if (list.isEmpty()) { return; } int x = list.size() / 2; for (int i = 0; i < 10000; i++) { list.get(x); } }