minElement property

int minElement

Returns the minimum value contained in the set if not isNil().

@return the minimum value contained in the set. @throws RuntimeException if set is empty

Implementation

int get minElement {
  if (isNil) {
    throw StateError('set is empty');
  }

  return intervals.first.a;
}