Uses of Class
org.soliscode.test.interfaces.NumberOnly
Packages that use NumberOnly
Package
Description
View classes that restrict an object to a single interface.
-
Uses of NumberOnly in org.soliscode.test.interfaces
Methods in org.soliscode.test.interfaces that return NumberOnlyModifier and TypeMethodDescriptionstatic NumberOnly
Interfaces.narrowToNumber
(Number n) Wraps the object so that only the methods in theNumber
interface are available.Methods in org.soliscode.test.interfaces that return types with arguments of type NumberOnlyModifier and TypeMethodDescriptionstatic List
<NumberOnly> NumberOnly.listOf
(int... values) Creates aList
ofNumberOnly
values based upon a list of integer constants.