@Test public void testNoLabelsWorkAfterClear() { noLabels.inc(1); assertEquals(getValueNoLabels(), 1.0, .001); noLabels.clear(); noLabels.inc(2); assertEquals(getValueNoLabels(), 2.0, .001); }
public void clear() { children.clear(); initializeNoLabelsChild(); }
SimpleCollector extends Collector { public void clear() { children.clear(); initializeNoLabelsChild(); } }
SimpleCollector extends Collector { public void clear() { children.clear(); initializeNoLabelsChild(); } protected  SimpleCollector(Builder b); }
SimpleCollector extends Collector { public void clear() { children.clear(); initializeNoLabelsChild(); } protected  SimpleCollector(Builder b); Child labels(String... labelValues); void remove(String... labelValues); void clear(); T setChild(Child child, String... labelValues); }
SimpleCollector extends Collector { public void clear() { children.clear(); initializeNoLabelsChild(); } protected  SimpleCollector(Builder b); Child labels(String... labelValues); void remove(String... labelValues); void clear(); T setChild(Child child, String... labelValues);  }