Class NumericPromotion


  • public class NumericPromotion
    extends java.lang.Object

    Title: Numeric Promotion

    Description: Utility to promote two numerics to comparable types.

    Copyright: Copyright (c) 2007

    Company: Clark & Parsia, LLC.

    Author:
    Ron Alford
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(NumericVisitor visitor)  
      void promote​(java.lang.Number... nums)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumericPromotion

        public NumericPromotion()
    • Method Detail

      • promote

        public void promote​(java.lang.Number... nums)