public static <E extends Enum<E>> E intToEnum(final Class<E> clazz, final int value) {
       return intToEnum(clazz, value, null);
    }
executes a given action on each 'partitionSize' numer of elements of the given collection. If false is returned, action is abandoned
main/src/main/java/cgeo/geocaching/utils/CommonUtils.java