test_class.file: flink-core/src/test/java/org/apache/flink/api/common/accumulators/AverageAccumulatorTest.java
test_class.identifier: AverageAccumulatorTest
test_case.body: @Test
  	public void testGet() {
  		AverageAccumulator average = new AverageAccumulator();
  		assertEquals(0.0, average.getLocalValue(), 0.0);
  	}
test_case.class_method_signature: AverageAccumulatorTest.testGet()
test_case.full_signature: @Test public void testGet()
test_case.identifier: testGet
test_case.invocations: assertEquals getLocalValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGet()
focal_class.declarator: serialVersionUID = 3672555084179165255L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 3672555084179165255L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: localValue
focal_class.modifier: private
focal_class.original_string: private double localValue;
focal_class.type: double
focal_class.var_name: localValue
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private long count;
focal_class.type: long
focal_class.var_name: count
focal_class.file: flink-core/src/main/java/org/apache/flink/api/common/accumulators/AverageAccumulator.java
focal_class.identifier: AverageAccumulator
focal_class.interfaces: implements SimpleAccumulator<Double>
focal_class.class_method_signature: AverageAccumulator.add(Double value)
focal_class.full_signature: @Override public void add(Double value)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (Double value)
focal_class.return: void
focal_class.signature: void add(Double value)
focal_class.class_method_signature: AverageAccumulator.add(double value)
focal_class.full_signature: public void add(double value)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (double value)
focal_class.return: void
focal_class.signature: void add(double value)
focal_class.class_method_signature: AverageAccumulator.add(long value)
focal_class.full_signature: public void add(long value)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (long value)
focal_class.return: void
focal_class.signature: void add(long value)
focal_class.class_method_signature: AverageAccumulator.add(int value)
focal_class.full_signature: public void add(int value)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (int value)
focal_class.return: void
focal_class.signature: void add(int value)
focal_class.class_method_signature: AverageAccumulator.getLocalValue()
focal_class.full_signature: @Override public Double getLocalValue()
focal_class.identifier: getLocalValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Double
focal_class.signature: Double getLocalValue()
focal_class.class_method_signature: AverageAccumulator.resetLocal()
focal_class.full_signature: @Override public void resetLocal()
focal_class.identifier: resetLocal
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetLocal()
focal_class.class_method_signature: AverageAccumulator.merge(Accumulator<Double, Double> other)
focal_class.full_signature: @Override public void merge(Accumulator<Double, Double> other)
focal_class.identifier: merge
focal_class.modifiers: @Override public
focal_class.parameters: (Accumulator<Double, Double> other)
focal_class.return: void
focal_class.signature: void merge(Accumulator<Double, Double> other)
focal_class.class_method_signature: AverageAccumulator.clone()
focal_class.full_signature: @Override public AverageAccumulator clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: AverageAccumulator
focal_class.signature: AverageAccumulator clone()
focal_class.class_method_signature: AverageAccumulator.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
  	public Double getLocalValue() {
  		if (this.count == 0) {
  			return 0.0;
  		}
  		return this.localValue / (double)this.count;
  	}
focal_method.class_method_signature: AverageAccumulator.getLocalValue()
focal_method.full_signature: @Override public Double getLocalValue()
focal_method.identifier: getLocalValue
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Double
focal_method.signature: Double getLocalValue()