lowerBoundType method

BoundType lowerBoundType()

Returns the type of this range's lower bound: {@link BoundType#CLOSED} if the range includes its lower endpoint, {@link BoundType#OPEN} if it does not.

@throws IllegalStateException if this range is unbounded below (that is, {@link #hasLowerBound()} returns {@code false})

Implementation

BoundType lowerBoundType() {
  return lowerBound.typeAsLowerBound();
}