This is a contribution of a span class as discussed on the mailing list.
The classes are int and long based and can:
- determine if points are within the span.
- determine if one span contains another span
- determine if two spans overlap
- do not have to have 0 (zero) as the index origin.
- determine the length of the span
- determine the last position in the span.
- determine the first position in the span.
Changes to Number Utils required to detect underflow and overflow calculations.