You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2018/03/16 16:59:00 UTC
[jira] [Created] (LANG-1387) Add Span classes to handle checks for
overlaps, containment, equality, etc.
Claude Warren created LANG-1387:
-----------------------------------
Summary: Add Span classes to handle checks for overlaps, containment, equality, etc.
Key: LANG-1387
URL: https://issues.apache.org/jira/browse/LANG-1387
Project: Commons Lang
Issue Type: Improvement
Components: lang.*, lang.math.*
Affects Versions: 3.7
Reporter: Claude Warren
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)