Class IntervalTree.Interval

java.lang.Object
net.cscott.jutil.IntervalTree.Interval
Enclosing class:
IntervalTree

public static class IntervalTree.Interval extends Object
Immutable record representing a closed interval [low,high] holding an object obj.
  • Field Details

    • low

      public final int low
    • high

      public final int high
    • datum

      public final Object datum
  • Constructor Details

    • Interval

      public Interval(Object datum, int low, int high)
  • Method Details