| Package | Description |
|---|---|
| org.dromara.hutool.core.lang.range |
提供区间和边界封装,主要包括:
Bound: 提供边界的抽象表示,包括边界范围、开闭区间等。 |
| Modifier and Type | Method and Description |
|---|---|
BoundType |
Bound.getType()
获取边界类型
|
BoundType |
BoundType.negate()
对边界类型取反
|
static BoundType |
BoundType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundType[] |
BoundType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BoundType.isDislocated(BoundType boundType)
该边界类型是否与当前边界错位,即一个的左边界,一个是右边界
|
Copyright © 2025. All rights reserved.