com.groupbyinc.flux.common.Numbers.class Maven / Gradle / Ivy
???? 4 ? "com/groupbyinc/flux/common/Numbers java/lang/Object Numbers.java ()V
this $Lcom/groupbyinc/flux/common/Numbers; bytesToShort ([B)S arr [B ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)S 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef bytes offset I 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
bytesToInt ([B)I ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)I bytesToLong ([B)J ???? high low ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)J bytesToFloat ([B)F
' java/lang/Float ) intBitsToFloat (I)F + ,
* - ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)F
0
bytesToDouble ([B)D
4 java/lang/Double 6 longBitsToDouble (J)D 8 9
7 : ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)D $
=
intToBytes (I)[B val shortToBytes longToBytes (J)[B J floatToBytes (F)[B floatToRawIntBits (F)I H I
* J ? @
L F
doubleToBytes (D)[B doubleToRawLongBits (D)J Q R
7 S C D
U D
isValidDouble (D)Z isNaN Z Y
7 [
isInfinite ] Y
7 ^ value toLongExact (Ljava/lang/Number;)J java/lang/Byte c java/lang/Short e java/lang/Integer g java/lang/Long i java/lang/Number k longValue ()J m n
l o doubleValue ()D q r
l s java/lang/Math u round w R
v x "java/lang/IllegalArgumentException z java/lang/StringBuilder |
} append -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?
} ? is not an integer value ? -(Ljava/lang/String;)Ljava/lang/StringBuilder; ?
} ? toString ()Ljava/lang/String; ? ?
} ? (Ljava/lang/String;)V ?
{ ? java/math/BigDecimal ? toBigIntegerExact ()Ljava/math/BigInteger; ? ?
? ? java/math/BigInteger ? longValueExact ? n
? ? Cannot check whether [ ? ] of class [ ? getClass ()Ljava/lang/Class; ? ?
? java/lang/Class ? getName ? ?
? ? ] is actually a long ? d n Ljava/lang/Number;
toIntExact (Ljava/lang/Number;)I a b
? (J)I ? ?
v ? toShortExact (Ljava/lang/Number;)S java/lang/ArithmeticException ? short overflow: ? (J)Ljava/lang/StringBuilder; ?
} ?
? ? l toByteExact (Ljava/lang/Number;)B byte overflow: ? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 1 ? 3 *? ? ?
?
"
? > *3 ?~x*3 ?~??? ? ? + ? L "*? *? 3 ?~x*? *? `3 ?~??? ? " ? / ? O %*3x*3 ?~x?*3 ?~x?*3 ?~?? ? % ? 9 ? m C*? *? 3x*? *? `3 ?~x?*? *? `3 ?~x?*? *? `3 ?~?? ? C ? = ? ? Y*3x*3 ?~x?*3 ?~x?*3 ?~?<*3x*3 ?~x?*3 ?~x?*3 ?~?=? y? ?? ? Y % 4 " L
# ? G % H L I $ ? ? ?*? *? `3x*? *? `3 ?~x?*? *? `3 ?~x?*? *? `3 ?~?<*? *? `3x*? *? `3 ?~x?*? *? `3 ?~x?*? *? `3 ?~?=? y? ?? ? ? E T " ?
# ? M E N ? O % &