com.groupbyinc.flux.common.Numbers.class Maven / Gradle / Ivy
???? 4 ? "com/groupbyinc/flux/common/Numbers java/lang/Object Numbers.java MAX_LONG_VALUE Ljava/math/BigInteger; MIN_LONG_VALUE ()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 . /
- 0 ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)F
3
bytesToDouble ([B)D ! "
7 java/lang/Double 9 longBitsToDouble (J)D ; <
: = ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)D ! '
@
intToBytes (I)[B val shortToBytes longToBytes (J)[B J floatToBytes (F)[B floatToRawIntBits (F)I K L
- M B C
O F
doubleToBytes (D)[B doubleToRawLongBits (D)J T U
: V F G
X D
isValidDouble (D)Z isNaN ] \
: ^
isInfinite ` \
: a value toLongExact (Ljava/lang/Number;)J java/lang/Byte f java/lang/Short h java/lang/Integer j java/lang/Long l java/lang/Number n longValue ()J p q
o r doubleValue ()D t u
o v java/lang/Math x round z U
y { "java/lang/IllegalArgumentException } 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 ? q
? ? Cannot check whether [ ? ] of class [ ? getClass ()Ljava/lang/Class; ? ?
? java/lang/Class ? getName ? ?
? ? ] is actually a long ? d n Ljava/lang/Number; toLong (Ljava/lang/String;Z)J java/lang/NumberFormatException ? java/lang/ArithmeticException ? parseLong (Ljava/lang/String;)J ? ?
m ?
? ? toBigInteger ? ?
? ? java/lang/String ? Value [ ? ] has a decimal part ? For input string: " ? " ? ? compareTo (Ljava/math/BigInteger;)I ? ?
? ? ? ] is out of range for a long ?
? r bigDecimalValue Ljava/math/BigDecimal; bigIntegerValue e Ljava/lang/ArithmeticException; !Ljava/lang/NumberFormatException; stringValue Ljava/lang/String; coerce Z
toIntExact (Ljava/lang/Number;)I d e
? (J)I ? ?
y ? toShortExact (Ljava/lang/Number;)S short overflow: ? (J)Ljava/lang/StringBuilder; ? ?
? ?
? ? l toByteExact (Ljava/lang/Number;)B byte overflow: ? ??????? valueOf (J)Ljava/math/BigInteger; ? ?
? ?? Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 1
? 3 *? ? ?
?
# % ? > *3 ?~x*3 ?~??? ? ? . ? L "*? *? 3 ?~x*? *? `3 ?~??? ? " ? 2 ? O %*3x*3 ?~x?*3 ?~x?*3 ?~?? ? % ? <