public interface Type extends Key
Modifier and Type | Method and Description |
---|---|
static void |
checkIfValid(Type type)
Checks if type passed as argument is not
null and its scale type is not null as well. |
static boolean |
isValid(Type type)
Returns
true if type passed as argument is not null and its scale type is not null as well. |
ScaleType |
scaleType()
Returns the scale type of the chart.
|
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid, value
static boolean isValid(Type type)
true
if type passed as argument is not null
and its scale type is not null
as well.type
- type to be checkedtrue
if type passed as argument is not null
and its scale type is not null
as well.static void checkIfValid(Type type)
null
and its scale type is not null
as well. If not, throw a IllegalArgumentException
.type
- type to be checkedScaleType scaleType()