com.google.common.math.Stats.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 4? java/lang/Long java/lang/Double java/lang/Byte
java/lang/Object ()V com/google/common/math/Stats count J mean D sumOfSquaresOfDeltas min max ! 'com/google/common/math/StatsAccumulator
$ % & addAll (Ljava/lang/Iterable;)V
( ) * snapshot ()Lcom/google/common/math/Stats;
, % - (Ljava/util/Iterator;)V
/ % 0 ([D)V
2 % 3 ([I)V
5 % 6 ([J)V 8 9 : get ()Ljava/util/function/Supplier; < = > accept (()Ljava/util/function/ObjDoubleConsumer; @ = A !()Ljava/util/function/BiConsumer; C D E F G java/util/stream/DoubleStream collect v(Ljava/util/function/Supplier;Ljava/util/function/ObjDoubleConsumer;Ljava/util/function/BiConsumer;)Ljava/lang/Object; I = J %()Ljava/util/function/ObjIntConsumer; L M N F O java/util/stream/IntStream s(Ljava/util/function/Supplier;Ljava/util/function/ObjIntConsumer;Ljava/util/function/BiConsumer;)Ljava/lang/Object; Q = R &()Ljava/util/function/ObjLongConsumer; T U V F W java/util/stream/LongStream t(Ljava/util/function/Supplier;Ljava/util/function/ObjLongConsumer;Ljava/util/function/BiConsumer;)Ljava/lang/Object; @ Z [ \ apply %()Ljava/util/function/BinaryOperator; ^ [ _ ()Ljava/util/function/Function; a *java/util/stream/Collector$Characteristics ` c d e UNORDERED ,Ljava/util/stream/Collector$Characteristics; g h i j k java/util/stream/Collector of ?(Ljava/util/function/Supplier;Ljava/util/function/BiConsumer;Ljava/util/function/BinaryOperator;Ljava/util/function/Function;[Ljava/util/stream/Collector$Characteristics;)Ljava/util/stream/Collector;
m n o p q $com/google/common/base/Preconditions
checkState (Z)V
s t u isNaN (D)Z?
y z { | } "com/google/common/math/DoubleUtils ensureNonNegative (D)D
? ()J
? ? ? populationVariance ()D
? ? ? ? } java/lang/Math sqrt
? ? ? sampleVariance
? ? ? getClass ()Ljava/lang/Class;
? ? ? doubleToLongBits (D)J
? ? ? valueOf (J)Ljava/lang/Long;
? ? ? (D)Ljava/lang/Double;
? ? ? ? ? com/google/common/base/Objects hashCode ([Ljava/lang/Object;)I
? ? ? ? ? "com/google/common/base/MoreObjects toStringHelper G(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
? ? ? ? ? 1com/google/common/base/MoreObjects$ToStringHelper add H(Ljava/lang/String;J)Lcom/google/common/base/MoreObjects$ToStringHelper;
? ? ? ? H(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper; ? populationStandardDeviation
? ? ?
? ? ? ? toString ()Ljava/lang/String; ? ? ? ? ? java/lang/Iterable iterator ()Ljava/util/Iterator;
? ? ? meanOf (Ljava/util/Iterator;)D ? ? ? ? ? java/util/Iterator hasNext ()Z
m ? ? q
checkArgument ? ? ? ? next ()Ljava/lang/Object; ? java/lang/Number
? ? ? ? doubleValue
? ? ? ? u $com/google/common/primitives/Doubles isFinite
? ? ? calculateNewMeanNonFinite (DD)D
? ? ? ? ? java/nio/ByteBuffer allocate (I)Ljava/nio/ByteBuffer; ? ? ? ? ? java/nio/ByteOrder
LITTLE_ENDIAN Ljava/nio/ByteOrder;
? ? ? ? order +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
? ? ? writeTo (Ljava/nio/ByteBuffer;)V
? ? ? ? array ()[B
m ? ? ? checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object;
? ? remaining ()I 5Expected at least Stats.BYTES = %s remaining , got %s
m ? (ZLjava/lang/String;II)V
?
putLong (J)Ljava/nio/ByteBuffer;
?
putDouble (D)Ljava/nio/ByteBuffer; ,Expected Stats.BYTES = %s remaining , got %s
? wrap ([B)Ljava/nio/ByteBuffer;
readFrom 5(Ljava/nio/ByteBuffer;)Lcom/google/common/math/Stats;
? ? getLong
? ? getDouble
! (JDDDD)V
# %$ ,(Lcom/google/common/math/StatsAccumulator;)V
& ?' (D)V) java/io/Serializable BYTES I
ConstantValue ( serialVersionUID Code LineNumberTable LocalVariableTable this Lcom/google/common/math/Stats; MethodParameters 4(Ljava/lang/Iterable;)Lcom/google/common/math/Stats; values Ljava/lang/Iterable; accumulator )Lcom/google/common/math/StatsAccumulator; LocalVariableTypeTable )Ljava/lang/Iterable<+Ljava/lang/Number;>; Signature I(Ljava/lang/Iterable<+Ljava/lang/Number;>;)Lcom/google/common/math/Stats; 4(Ljava/util/Iterator;)Lcom/google/common/math/Stats; Ljava/util/Iterator; )Ljava/util/Iterator<+Ljava/lang/Number;>; I(Ljava/util/Iterator<+Ljava/lang/Number;>;)Lcom/google/common/math/Stats; "([D)Lcom/google/common/math/Stats; [D "([I)Lcom/google/common/math/Stats; [I "([J)Lcom/google/common/math/Stats; [J ?(Ljava/util/stream/DoubleStream;)Lcom/google/common/math/Stats; Ljava/util/stream/DoubleStream; <(Ljava/util/stream/IntStream;)Lcom/google/common/math/Stats; Ljava/util/stream/IntStream; =(Ljava/util/stream/LongStream;)Lcom/google/common/math/Stats; Ljava/util/stream/LongStream; toStats ()Ljava/util/stream/Collector; y()Ljava/util/stream/Collector;
StackMapTable sum sampleStandardDeviation equals (Ljava/lang/Object;)Z obj Ljava/lang/Object; other "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; (Ljava/lang/Iterable;)D ,(Ljava/lang/Iterable<+Ljava/lang/Number;>;)D value ,(Ljava/util/Iterator<+Ljava/lang/Number;>;)D ([D)D index ([I)D ([J)D toByteArray buff Ljava/nio/ByteBuffer; buffer
fromByteArray "([B)Lcom/google/common/math/Stats; byteArray [B lambda$toStats$1 }(Lcom/google/common/math/StatsAccumulator;Lcom/google/common/math/StatsAccumulator;)Lcom/google/common/math/StatsAccumulator; l r lambda$toStats$0 >(Lcom/google/common/math/StatsAccumulator;Ljava/lang/Number;)V a x Ljava/lang/Number;
SourceFile
Stats.java RuntimeVisibleAnnotations 8Lcom/google/common/math/ElementTypesAreNonnullByDefault; RuntimeInvisibleAnnotations 0Lcom/google/common/annotations/J2ktIncompatible; /Lcom/google/common/annotations/GwtIncompatible; BootstrapMethods ? "? +()Lcom/google/common/math/StatsAccumulator;? (Ljava/lang/Object;D)V%? -(Lcom/google/common/math/StatsAccumulator;D)V? '(Ljava/lang/Object;Ljava/lang/Object;)V"? U(Lcom/google/common/math/StatsAccumulator;Lcom/google/common/math/StatsAccumulator;)V? (Ljava/lang/Object;I)V? -(Lcom/google/common/math/StatsAccumulator;I)V? (Ljava/lang/Object;J)V? -(Lcom/google/common/math/StatsAccumulator;J)V?
?qrr? 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?
?mnn ? '? I(Lcom/google/common/math/StatsAccumulator;)Lcom/google/common/math/Stats;?
????? "java/lang/invoke/LambdaMetafactory metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; InnerClasses Characteristics ToStringHelper? %java/lang/invoke/MethodHandles$Lookup? java/lang/invoke/MethodHandles Lookup 1 ( *+ , - . , / " ! 1 ? !*? *?
*)? *? *? * ? ? 2 Z [ \ ] ^ _ `3 > !45 ! ! ! ! ! 6 j7 1 ` ? Y? "L+*? #+? '? 2 i j
k3 89
:; <