NumberAdapter.ByteAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to byte values Clients can either use the
default implementation supplied or have their own.
static class
NumberAdapter.DoubleAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to double values Clients can either use
the default implementation supplied or have their own.
static class
NumberAdapter.FloatAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to float values Clients can either use the
default implementation supplied or have their own.
static class
NumberAdapter.IntegerAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to int values Clients can either use the
default implementation supplied or have their own.
static class
NumberAdapter.LongAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to long values Clients can either use the
default implementation supplied or have their own.
static class
NumberAdapter.ShortAdapter
A subclass of NumberAdapter to be used to adapt an
argument object to short values Clients can either use the
default implementation supplied or have their own.
NumberAdapter.getDefault()
Obtains a default number adapter, that simply assumes that input
values are of the required number kind and casts them appropriately.
NumberCondition(
N lowerBound,
boolean lowerInclusive,
N upperBound,
boolean upperInclusive,
NumberAdapter<? extends
N> adapter)
Initializes me with upper and lower bounds against which to test input
values, and an adapter to convert those inputs to numbers.
NumberCondition(
N lowerBound,
N upperBound,
NumberAdapter<? extends
N> adapter)
Initializes me with upper and lower bounds against which to test input
values, and an adapter to convert those inputs to numbers.
NumberCondition(
N number,
NumberAdapter<? extends
N> adapter)
Initializes me with a single number against which to test input
values, and an adapter to convert those inputs to numbers.
NumberCondition(
N number,
NumberCondition.RelationalOperator operator,
NumberAdapter<? extends
N> adapter)
Initializes me with a number against which to test input values,
a relational operator to apply in comparisons, and an adapter to
convert those inputs to numbers.