Class NumberUtil


  • public class NumberUtil
    extends Object
    NOTE: this class reimplements JLS sections 5.6.1 (unary numeric promotion) and 5.6.2 (binary numeric promotion) to reduce casts and instanceof checks.