@Test(expected=IllegalArgumentException.class) public void shouldTooSmallSizeBeInvalid() { Window.of(1).consolidatedBy(MaxConsolidator.class); }
public static Window.Builder of(final int size) { return new Window.Builder(size); }
Window { public static Window.Builder of(final int size) { return new Window.Builder(size); } }
Window { public static Window.Builder of(final int size) { return new Window.Builder(size); } Window(final int size, final List<? extends Class<? extends Consolidator>> consolidatorTypes, final List<? extends ConsolidationListener> consolidationListeners); }
Window { public static Window.Builder of(final int size) { return new Window.Builder(size); } Window(final int size, final List<? extends Class<? extends Consolidator>> consolidatorTypes, final List<? extends ConsolidationListener> consolidationListeners); static Window.Builder of(final int size); int getSize(); List<? extends Class<? extends Consolidator>> getConsolidatorTypes(); List<? extends ConsolidationListener> getConsolidationListeners(); }
Window { public static Window.Builder of(final int size) { return new Window.Builder(size); } Window(final int size, final List<? extends Class<? extends Consolidator>> consolidatorTypes, final List<? extends ConsolidationListener> consolidationListeners); static Window.Builder of(final int size); int getSize(); List<? extends Class<? extends Consolidator>> getConsolidatorTypes(); List<? extends ConsolidationListener> getConsolidationListeners();  }