Java generics and the Number class

后端 未结 5 1575
一个人的身影
一个人的身影 2021-01-11 16:16

I want to create a method that compares a number but can have an input that is any of the subclasses of Number.

I have looked at doing this in the following manner..

5条回答
提交回复
热议问题