Generics that restricts the types to Int, Double, long
Asked 2010-04-15T12:48:26.997
27
Is it possible to constraint a method so that it receives only int, double, long or other numerical types that has the usual numerical operations ( such as +,-,*,/) defined?