A
Albretch Mueller
~
Since JDK 1.0 java.lang.Number has been subclassed by:
~
BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
~
why hasn't sun included "Rational" as one of the subclasses? (and it
seems based on past history and the kind of stuff they deem important
(http://openjdk.java.net/projects/jdk7/features/) that they won't ever
do so)
~
why not java.lang.Rational? It naturally fits within the Number class
hierarchy!
~
thanks
lbrtchx
Since JDK 1.0 java.lang.Number has been subclassed by:
~
BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
~
why hasn't sun included "Rational" as one of the subclasses? (and it
seems based on past history and the kind of stuff they deem important
(http://openjdk.java.net/projects/jdk7/features/) that they won't ever
do so)
~
why not java.lang.Rational? It naturally fits within the Number class
hierarchy!
~
thanks
lbrtchx