test_class.file: storm/storm-benchmark/src/test/java/storm/benchmark/util/BenchmarkUtilsTest.java
test_class.identifier: BenchmarkUtilsTest
test_case.body: @Test(dataProvider = "getAvgs")
    public void testAvg(Iterable<Double> numbers, double expected) {
      assertThat(BenchmarkUtils.avg(numbers)).isEqualTo(expected);
    }
test_case.class_method_signature: BenchmarkUtilsTest.testAvg(Iterable<Double> numbers, double expected)
test_case.full_signature: @Test(dataProvider = "getAvgs") public void testAvg(Iterable<Double> numbers, double expected)
test_case.identifier: testAvg
test_case.invocations: isEqualTo assertThat avg
test_case.modifiers: @Test(dataProvider = "getAvgs") public
test_case.parameters: (Iterable<Double> numbers, double expected)
test_case.return: void
test_case.signature: void testAvg(Iterable<Double> numbers, double expected)
focal_class.declarator: LOG = Logger.getLogger(BenchmarkUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = Logger.getLogger(BenchmarkUtils.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.file: storm/storm-benchmark/src/main/java/storm/benchmark/util/BenchmarkUtils.java
focal_class.identifier: BenchmarkUtils
focal_class.class_method_signature: BenchmarkUtils.BenchmarkUtils()
focal_class.full_signature: private  BenchmarkUtils()
focal_class.identifier: BenchmarkUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  BenchmarkUtils()
focal_class.class_method_signature: BenchmarkUtils.max(Iterable<Double> iterable)
focal_class.full_signature: public static double max(Iterable<Double> iterable)
focal_class.identifier: max
focal_class.modifiers: public static
focal_class.parameters: (Iterable<Double> iterable)
focal_class.return: double
focal_class.signature: double max(Iterable<Double> iterable)
focal_class.class_method_signature: BenchmarkUtils.avg(Iterable<Double> iterable)
focal_class.full_signature: public static double avg(Iterable<Double> iterable)
focal_class.identifier: avg
focal_class.modifiers: public static
focal_class.parameters: (Iterable<Double> iterable)
focal_class.return: double
focal_class.signature: double avg(Iterable<Double> iterable)
focal_class.class_method_signature: BenchmarkUtils.putIfAbsent(Map map, Object key, Object val)
focal_class.full_signature: public static void putIfAbsent(Map map, Object key, Object val)
focal_class.identifier: putIfAbsent
focal_class.modifiers: public static
focal_class.parameters: (Map map, Object key, Object val)
focal_class.return: void
focal_class.signature: void putIfAbsent(Map map, Object key, Object val)
focal_class.class_method_signature: BenchmarkUtils.getInt(Map map, Object key, int def)
focal_class.full_signature: public static int getInt(Map map, Object key, int def)
focal_class.identifier: getInt
focal_class.modifiers: public static
focal_class.parameters: (Map map, Object key, int def)
focal_class.return: int
focal_class.signature: int getInt(Map map, Object key, int def)
focal_class.class_method_signature: BenchmarkUtils.ifAckEnabled(Config config)
focal_class.full_signature: public static boolean ifAckEnabled(Config config)
focal_class.identifier: ifAckEnabled
focal_class.modifiers: public static
focal_class.parameters: (Config config)
focal_class.return: boolean
focal_class.signature: boolean ifAckEnabled(Config config)
focal_method.body: public static double avg(Iterable<Double> iterable) {
      Iterator<Double> iterator = iterable.iterator();
      double total = 0.0;
      int num = 0;
      while (iterator.hasNext()) {
        total += iterator.next();
        num++;
      }
      return total / num;
    }
focal_method.class_method_signature: BenchmarkUtils.avg(Iterable<Double> iterable)
focal_method.full_signature: public static double avg(Iterable<Double> iterable)
focal_method.identifier: avg
focal_method.invocations: iterator hasNext next
focal_method.modifiers: public static
focal_method.parameters: (Iterable<Double> iterable)
focal_method.return: double
focal_method.signature: double avg(Iterable<Double> iterable)