Class Interval

java.lang.Object
eu.bandm.tools.lljava.absy.Interval

public class Interval extends Object
Pointed intervals of integers. Each interval has two simultaneous meanings:
  • a location, i.e. a closed nonempty interval; and
  • a content, i.e. a left-closed/right-open, possible empty interval.

An interval that has empty content is simply called empty. Note that empty intervals still have a location point; there is a distinct empty interval for every integer location.

  • Constructor Details

    • Interval

      public Interval(int start, int end)
  • Method Details