java.lang.Number

A number represents any kind of number which may be transformed to other types for those numbers. Note that any of these methods may result in values which lose their sign, significant bits, or the value itself. Most classes will likely implement these using narrowing conversions that match the Java language.