@Test public void testGenerics() { EventList<String> source = new BasicEventList<>(); EventList<List<String>> testList = new GroupingList<>(source, String.CASE_INSENSITIVE_ORDER); testList.dispose(); }
@Override public void dispose() { ((SortedList) source).dispose(); super.dispose(); }
GroupingList extends TransformedList<E, List<E>> { @Override public void dispose() { ((SortedList) source).dispose(); super.dispose(); } }
GroupingList extends TransformedList<E, List<E>> { @Override public void dispose() { ((SortedList) source).dispose(); super.dispose(); } GroupingList(EventList<E> source);  GroupingList(EventList<E> source, Comparator<? super E> comparator); private  GroupingList(SortedList<E> source, Comparator<? super E> comparator, Void dummyParameter); }
GroupingList extends TransformedList<E, List<E>> { @Override public void dispose() { ((SortedList) source).dispose(); super.dispose(); } GroupingList(EventList<E> source);  GroupingList(EventList<E> source, Comparator<? super E> comparator); private  GroupingList(SortedList<E> source, Comparator<? super E> comparator, Void dummyParameter); static GroupingList<E> create(EventList<E> source); int indexOfGroup(E groupElement); void setComparator(Comparator<? super E> comparator); @Override void listChanged(ListEvent<E> listChanges); @Override List<E> get(int index); @Override List<E> remove(int index); @Override List<E> set(int index, List<E> value); @Override void add(int index, List<E> value); @Override int size(); @Override void dispose(); }
GroupingList extends TransformedList<E, List<E>> { @Override public void dispose() { ((SortedList) source).dispose(); super.dispose(); } GroupingList(EventList<E> source);  GroupingList(EventList<E> source, Comparator<? super E> comparator); private  GroupingList(SortedList<E> source, Comparator<? super E> comparator, Void dummyParameter); static GroupingList<E> create(EventList<E> source); int indexOfGroup(E groupElement); void setComparator(Comparator<? super E> comparator); @Override void listChanged(ListEvent<E> listChanges); @Override List<E> get(int index); @Override List<E> remove(int index); @Override List<E> set(int index, List<E> value); @Override void add(int index, List<E> value); @Override int size(); @Override void dispose();  }