Update checkNextInRange to use a LongSupplier
authoraherbert <aherbert@apache.org>
Wed, 30 Mar 2022 11:39:18 +0000 (12:39 +0100)
committeraherbert <aherbert@apache.org>
Wed, 30 Mar 2022 11:39:18 +0000 (12:39 +0100)
commit3fb6b326b1889f2ddc01cb040e72d710b0f27ce1
tree5c046e25c1cfe8571eec8fa28444267c64d47baf
parent498610f60964b9b6bc63ef7721bf86120cc7d778
Update checkNextInRange to use a LongSupplier

The generic type <T extends Number> was used as a long value. The type
can be dropped to avoid auto-boxing for all generator tests.

Modified methods to static.
commons-rng-core/src/test/java/org/apache/commons/rng/core/ProvidersCommonParametricTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java