AllCategoriesIterator(final String first, final String last, final String prefix, final boolean lexicographicalOrder, final Long minimumEntries, final Long maximumEntries) {
			super("acfrom", first /* can also be null */);

			getParams = paramValuesToMap("action", "query", "format", "xml", "list", "allcategories", "aclimit", "max", "acprop", "size", "acdir", lexicographicalOrder ? "ascending" : "descending");

			if ((last != null) && (last.length() > 0)) {
				getParams.put("acto", last);
			}
			if ((prefix != null) && (prefix.length() > 0)) {
				getParams.put("acprefix", prefix);
			}

			if (minimumEntries != null) {
				getParams.put("acmin", minimumEntries.toString());
			}
			if (maximumEntries != null) {
				getParams.put("acmax", maximumEntries.toString());
			}
		}