The alternate() method defined in the Unit interface currently returns Unit<?>.
It seems to be that it should return Unit<Q> since changing the unit symbol
should not change the kind of quantity measured by the Unit.
Or, if the quantity type is unrestricted in order to allow switching from
Energy to Torque (for example), this this should be explained in the javadoc.
Original issue reported on code.google.com by martdesr...@gmail.com on 8 Jan 2013 at 5:01
Original issue reported on code.google.com by
martdesr...@gmail.com
on 8 Jan 2013 at 5:01