final class oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer extends java.lang.Object implements java.util.function.BiConsumer
{
private final double scalingFactor;
private final java.util.concurrent.ConcurrentSkipListMap values;
private int count;
void <init>(double, java.util.concurrent.ConcurrentSkipListMap)
{
java.util.concurrent.ConcurrentSkipListMap v;
oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer v;
double v;
v := @this: oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer;
v := @parameter: double;
v := @parameter: java.util.concurrent.ConcurrentSkipListMap;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: double scalingFactor> = v;
v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: java.util.concurrent.ConcurrentSkipListMap values> = v;
return;
}
public void accept(java.lang.Double, oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample)
{
java.lang.Double v, v;
long v;
int v, v, v;
double v, v, v, v, v, v;
oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer v;
java.util.concurrent.ConcurrentSkipListMap v;
oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample v, v;
java.lang.Object v;
v := @this: oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer;
v := @parameter: java.lang.Double;
v := @parameter: oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample;
v = v.<oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample: double weight>;
v = v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: double scalingFactor>;
v = v * v;
v = staticinvoke <java.lang.Double: int compare(double,double)>(v, 0.0);
if v != 0 goto label;
return;
label:
v = new oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample;
v = v.<oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample: long value>;
specialinvoke v.<oadd.com.codahale.metrics.WeightedSnapshot$WeightedSample: void <init>(long,double)>(v, v);
v = v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: java.util.concurrent.ConcurrentSkipListMap values>;
v = virtualinvoke v.<java.lang.Double: double doubleValue()>();
v = v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: double scalingFactor>;
v = v * v;
v = staticinvoke <java.lang.Double: java.lang.Double valueOf(double)>(v);
v = virtualinvoke v.<java.util.concurrent.ConcurrentSkipListMap: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
if v != null goto label;
v = v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: int count>;
v = v + 1;
v.<oadd.com.codahale.metrics.LockFreeExponentiallyDecayingReservoir$RescalingConsumer: int count> = v;
label:
return;
}
}