Package | Description |
---|---|
org.macroing.cit.java.util |
Provides common classes and interfaces that extends the APIs provided by
java.util . |
Modifier and Type | Method and Description |
---|---|
Interval.Kind |
Interval.getKind()
Returns the
Interval.Kind used by this Interval instance. |
static Interval.Kind |
Interval.Kind.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Interval.Kind[] |
Interval.Kind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T extends java.lang.Comparable<T>> |
Interval.of(T a,
T b,
Interval.Kind kind)
Returns an
Interval instance based on the lesser value of a , the greater value of b and a given Kind . |