Interval<T extends Comparable<Object?>>.empty constructor

Interval<T extends Comparable<Object?>>.empty(
  1. T value
)

Creates an empty Interval with value, i.e. { x | value <= x < value }.

This is an alias for Interval.closedOpen.

Implementation

Interval.empty(T value): min = (value: value, open: false), max = (value: value, open: true);