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);
        }
    }
Can some one explain what is purpose of int x = list.size()/2; ? If i understand it correctly it will all ways get same value from list or I am wrong ?