![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.math.Quantiles$ScaleAndIndexes.class Maven / Gradle / Ivy
???? 4 ? java/lang/Double
0com/google/common/math/Quantiles$ScaleAndIndexes (I[I)V
java/lang/Object ()V
com/google/common/math/Quantiles
access$300 (II)V !Indexes must be a non empty array
$com/google/common/base/Preconditions
checkArgument (ZLjava/lang/Object;)V scale I ! " # indexes [I
% & ' ( ) $com/google/common/primitives/Doubles toArray (Ljava/util/Collection;)[D
+ , - computeInPlace ([D)Ljava/util/Map;
/ 0 1 2 3 [D clone ()Ljava/lang/Object;
5 6 7
access$400 ([J)[D
9 : ;
access$500 ([I)[D = .Cannot calculate quantiles of an empty dataset
? @ A
access$600 ([D)Z C java/util/LinkedHashMap
B
F G H I J java/lang/Integer valueOf (I)Ljava/lang/Integer;?
N I O (D)Ljava/lang/Double; Q R S T U
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
W X Y Z [ java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map; ] ^ _ ` a java/math/RoundingMode DOWN Ljava/math/RoundingMode;
c d e f g com/google/common/math/LongMath divide (JJLjava/math/RoundingMode;)J
i j k l m java/util/Arrays sort ([III)V
o p q
access$900 ([III[DII)V
s t u
access$800 (DDDD)D Code LineNumberTable LocalVariableTable index this 2Lcom/google/common/math/Quantiles$ScaleAndIndexes;
StackMapTable # MethodParameters compute '(Ljava/util/Collection;)Ljava/util/Map; dataset Ljava/util/Collection; LocalVariableTypeTable +Ljava/util/Collection<+Ljava/lang/Number;>; Signature c(Ljava/util/Collection<+Ljava/lang/Number;>;)Ljava/util/Map; :([D)Ljava/util/Map; ([J)Ljava/util/Map; [J :([J)Ljava/util/Map; ([I)Ljava/util/Map; :([I)Ljava/util/Map; nanMap Ljava/util/Map; numerator J quotient remainder i quotients
remainders requiredSelections requiredSelectionsCount ret 6Ljava/util/Map; *(I[ILcom/google/common/math/Quantiles$1;)V x0 x1 x2 $Lcom/google/common/math/Quantiles$1;
SourceFile Quantiles.java InnerClasses ScaleAndIndexes ? "com/google/common/math/Quantiles$1 1
" # v ? @*? ,N-?66? -.6? ????,?? ? ? *? *,? ? w " H I J I &L 5M :N ?O x * y @ z { @ @ " # | ?
} } ? @ ~ " ? v O *+? $? *? w ] x z { ? ? ? ? ? ~ ? ? ? ? - v @ *+? .? /? *? w k x z { ? 1 ~ ? ? ? ? ? v = *+? 4? *? w z x z { ? ? ~ ? ? ? ? ? v = *+? 8? *? w ? x z { ? # ~ ? ? ? ? , - v *
l+?? ?