@Test public void testAddAll() { EventList<String> source = new BasicEventList<>(); RangeList<String> rangeList = new RangeList<>(source); ListConsistencyListener.install(rangeList); assertEquals(0, rangeList.size()); rangeList.addAll(GlazedListsTests.stringToList("JESSE")); assertEquals(GlazedListsTests.stringToList("JESSE"), rangeList); }
@Override public final int size() { return currentEndIndex - currentStartIndex; }
RangeList extends TransformedList<E, E> { @Override public final int size() { return currentEndIndex - currentStartIndex; } }
RangeList extends TransformedList<E, E> { @Override public final int size() { return currentEndIndex - currentStartIndex; } RangeList(EventList<E> source); }
RangeList extends TransformedList<E, E> { @Override public final int size() { return currentEndIndex - currentStartIndex; } RangeList(EventList<E> source); @Override final void listChanged(ListEvent<E> listChanges); @Deprecated void setRange(int startIndex, int endIndex); void setHeadRange(int startIndex, int endIndex); void setMiddleRange(int startIndex, int endIndex); void setTailRange(int startIndex, int endIndex); @Override final int size(); int getStartIndex(); int getEndIndex(); }
RangeList extends TransformedList<E, E> { @Override public final int size() { return currentEndIndex - currentStartIndex; } RangeList(EventList<E> source); @Override final void listChanged(ListEvent<E> listChanges); @Deprecated void setRange(int startIndex, int endIndex); void setHeadRange(int startIndex, int endIndex); void setMiddleRange(int startIndex, int endIndex); void setTailRange(int startIndex, int endIndex); @Override final int size(); int getStartIndex(); int getEndIndex();  }