Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-8292

Improve IRange interface

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • Mission Control Core
    • None

      It would be nice if the IRange<T extends Comparable> interface specified a few more useful methods such as these:

      • contains(T value)
      • intersects(IRange<T> range) (this already exists elsewhere, but makes more sense as part of a range itself

      And perhaps methods to create a new range with a lower start or higher end?

            hirt Marcus Hirt
            hdafgard Henrik Dafgård
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: