This is equivalent to min(0).max(1).
min(0).max(1)
5051525354555657585960
return occurrences.min(minimum); } public void optional() { Occurrences occurrences = getOccurences(); occurrences.optional(); } public void unbounded() { Occurrences occurrences = getOccurences(); occurrences.unbounded();