Base.:*Method

For ClosedIntervals J and K, J*K is their intersection. Also available as J ∧ K.

Base.:+Method

For ClosedIntervals J and K, J+K is the smallest ClosedInterval containing them both. This is also available as J ∨ K.

Base.:<<Method

For ClosedIntervals I and J, I<<J tests if I is completely to the left of J.

Base.:>>Method

For ClosedIntervals I and J, I>>J tests if I is completely to the right of J.

Base.inMethod

For a number x and a ClosedInterval I (of the same type) in(x,I) tests if x is contained in the interval I.

Base.isemptyMethod

For a ClosedInterval I, isempty(I) tests if I is an empty interval.

Base.islessMethod

Lexicographic ordering of ClosedIntervals.

Base.lengthMethod

length(I) is the length of the ClosedInterval I.