@Test public void listenersCount() throws Exception { assertThat(signal.listenersCount(), is(0)); for (int i = 0; i < 10; ++i) { signal.add(mock(Listener.class)); } assertThat(signal.listenersCount(), is(10)); }
@Override public int listenersCount() { return slotList.size(); }
AbstractSignal implements Signal<T> { @Override public int listenersCount() { return slotList.size(); } }
AbstractSignal implements Signal<T> { @Override public int listenersCount() { return slotList.size(); }  }
AbstractSignal implements Signal<T> { @Override public int listenersCount() { return slotList.size(); }  @Override Slot addOnce(T value); @Override Slot add(T value); @Override void dispatch(Object... values); @Override Slot remove(T value); @Override void removeAll(); @Override int listenersCount(); }
AbstractSignal implements Signal<T> { @Override public int listenersCount() { return slotList.size(); }  @Override Slot addOnce(T value); @Override Slot add(T value); @Override void dispatch(Object... values); @Override Slot remove(T value); @Override void removeAll(); @Override int listenersCount();  }