getEndExclusive

abstract fun getEndExclusive(): T

获取范围中的最大值(不包含)。

Throws

如果无法用 T 类型的值表示独占结束边界,则可能抛出此异常。