@Test public void dataViewWithItems_getItem_returnsCorrectItem() { Assert.assertEquals(items.get(0), dataView.getItem(0)); Assert.assertEquals(items.get(1), dataView.getItem(1)); Assert.assertEquals(items.get(2), dataView.getItem(2)); }
@Override public T getItem(int index) { return dataCommunicator.getItem(index); }
GridDataView extends AbstractDataView<T> { @Override public T getItem(int index) { return dataCommunicator.getItem(index); } }
GridDataView extends AbstractDataView<T> { @Override public T getItem(int index) { return dataCommunicator.getItem(index); } GridDataView(DataCommunicator<T> dataCommunicator,
                        Grid<T> grid); }
GridDataView extends AbstractDataView<T> { @Override public T getItem(int index) { return dataCommunicator.getItem(index); } GridDataView(DataCommunicator<T> dataCommunicator,
                        Grid<T> grid); @Override T getItem(int index); @Override Stream<T> getItems(); @Override void setIdentifierProvider(
            IdentifierProvider<T> identifierProvider); }
GridDataView extends AbstractDataView<T> { @Override public T getItem(int index) { return dataCommunicator.getItem(index); } GridDataView(DataCommunicator<T> dataCommunicator,
                        Grid<T> grid); @Override T getItem(int index); @Override Stream<T> getItems(); @Override void setIdentifierProvider(
            IdentifierProvider<T> identifierProvider);  }