@Test public void testInit() { Counter c = new DefaultCounter(clock, NoopId.INSTANCE); Assert.assertEquals(c.count(), 0L); }
@Override public long count() { return count.get(); }
DefaultCounter implements Counter { @Override public long count() { return count.get(); } }
DefaultCounter implements Counter { @Override public long count() { return count.get(); } DefaultCounter(Clock clock, Id id); }
DefaultCounter implements Counter { @Override public long count() { return count.get(); } DefaultCounter(Clock clock, Id id); @Override Id id(); @Override Indicator<Long> measure(); @Override void inc(); @Override void inc(long amount); @Override void dec(); @Override void dec(long n); @Override long count(); }
DefaultCounter implements Counter { @Override public long count() { return count.get(); } DefaultCounter(Clock clock, Id id); @Override Id id(); @Override Indicator<Long> measure(); @Override void inc(); @Override void inc(long amount); @Override void dec(); @Override void dec(long n); @Override long count();  }