枚举常量和说明 |
---|
CLOSE_CLOSE
闭区间
|
CLOSE_OPEN
左闭右开区间
|
OPEN_CLOSE
左开右闭区间
|
OPEN_OPEN
开区间
|
public static final RangeType CLOSE_CLOSE
闭区间
public static final RangeType CLOSE_OPEN
左闭右开区间
public static final RangeType OPEN_CLOSE
左开右闭区间
public static final RangeType OPEN_OPEN
开区间
public static RangeType[] values()
for (RangeType c : RangeType.values()) System.out.println(c);
public static RangeType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。