All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.ExponentiallyWeightedMovingAverage.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4G=com/groupbyinc/flux/common/ExponentiallyWeightedMovingAveragejava/lang/Object'ExponentiallyWeightedMovingAverage.javaalphaDaverageBits(Ljava/util/concurrent/atomic/AtomicLong;(DD)V()V


"java/lang/IllegalArgumentException?alpha must be greater or equal to 0 and less than or equal to 1(Ljava/lang/String;)V

	&java/util/concurrent/atomic/AtomicLongjava/lang/DoubledoubleToLongBits(D)J
(J)V
 
!		#this?Lcom/groupbyinc/flux/common/ExponentiallyWeightedMovingAverage;
initialAvg
getAverage()Dget()J*+
,longBitsToDouble(J)D./
0addValue(D)V()
4
compareAndSet(JJ)Z67
8currentBitsJ
currentAvgnewAvgnewBitsnewValue
successfulZCodeLocalVariableTableLineNumberTable
StackMapTable
SourceFile!	
B?/*?'??	'??
?Y??*'?*?Y)??"?$?C /%&//'D'()+,.-E?	()B5*?$?-?1?C%&D023B?;>*?$?-7*?59*?'k*?gkc9?7
*?$
?9>??˱CH+:;%<#=*>;
;%&;?9@AD"4678#9*:6;:<E?F




© 2015 - 2024 Weber Informatics LLC | Privacy Policy