Class NumberUtil


  • public final class NumberUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte asByte​(java.lang.Byte number)  
      static int asInt​(java.lang.Integer number)  
      static long asLong​(java.lang.Long number)  
      static short asShort​(java.lang.Short number)  
      static short asShort​(org.opendaylight.yangtools.yang.common.Uint8 number)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • asInt

        public static int asInt​(java.lang.Integer number)
      • asByte

        public static byte asByte​(java.lang.Byte number)
      • asShort

        public static short asShort​(java.lang.Short number)
      • asShort

        public static short asShort​(org.opendaylight.yangtools.yang.common.Uint8 number)
      • asLong

        public static long asLong​(java.lang.Long number)