Package studio.mevera.imperat.command
Interface NumericComparator<N extends Number>
public interface NumericComparator<N extends Number>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Class<? extends Number>,NumericComparator<?>> static final NumericComparator<Double>static final NumericComparator<Float>static final NumericComparator<Integer>static final NumericComparator<Long> -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWithin(N number, NumericRange range) static <N extends Number>
NumericComparator<N>of(N value)
-
Field Details
-
DOUBLE_NUMERIC_COMPARATOR
-
FLOAT_NUMERIC_COMPARATOR
-
INTEGER_NUMERIC_COMPARATOR
-
LONG_NUMERIC_COMPARATOR
-
COMPARATORS
-
-
Method Details
-
of
-
isWithin
-