| 枚举常量和说明 |
|---|
CLOSECLOSE
左侧范围(较小值)包含左侧值,右侧范围(较大值)包含右侧值,
|
CLOSEOPEN
左侧范围(较小值)包含左侧值,右侧范围(较大值)不包含右侧值,
|
OPENCLOSE
左侧范围(较小值)不包含左侧值,右侧范围(较大值)包含右侧值,
|
OPENOPEN
左侧范围(较小值)不包含左侧值,右侧范围(较大值)包不含右侧值,
|
public static final RangeType OPENCLOSE
public static final RangeType OPENOPEN
public static final RangeType CLOSEOPEN
public static final RangeType CLOSECLOSE
public final CompareOp lower
public final CompareOp upper
public static RangeType[] values()
for (RangeType c : RangeType.values()) System.out.println(c);
public static RangeType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值Copyright © 2024. All Rights Reserved.