public boolean assertCheckCount(final int minCount, final int maxCount, final boolean checkOnly) {
        if ((minCount > 0 && (size() < minCount)) ||
                (maxCount > 0 && (size() > maxCount))) {
            if (checkOnly) {
                return false;
            }
            throw new FormulaException(WRONG_PARAMETER_COUNT, minCount < 0 ? "*" : "" + minCount, maxCount < 0 ? "*" : "" + maxCount, size());
        }
        return true;
    }
Encapsulates a list of {@link cgeo.geocaching.utils.formulas.Value}'s for handling as parameter lists in {@link Formula}
main/src/main/java/cgeo/geocaching/utils/formulas/ValueList.java