@Test public void testListIterator() throws Exception { list.add(OBJ_0); Iterator iterator = list.listIterator(); assertThat(iterator.hasNext(), equalTo(true)); assertThat(iterator.next(), sameInstance(OBJ_0)); assertThat(iterator.hasNext(), equalTo(false)); }
@Override public ListIterator<E> listIterator() { return iterator(); }
DynamicList extends DynamicCollection<E> implements List<E>, RandomAccess { @Override public ListIterator<E> listIterator() { return iterator(); } }
DynamicList extends DynamicCollection<E> implements List<E>, RandomAccess { @Override public ListIterator<E> listIterator() { return iterator(); }  }
DynamicList extends DynamicCollection<E> implements List<E>, RandomAccess { @Override public ListIterator<E> listIterator() { return iterator(); }  @Override boolean addAll(int index, Collection<? extends E> c); @Override E set(int index, E element); @Override void add(int index, E element); @Override int indexOf(Object o); @Override int lastIndexOf(Object o); E get(int index); @Override ListIterator<E> listIterator(); @Override ListIterator<E> listIterator(int index); @Override List<E> subList(int fromIndex, int toIndex); }
DynamicList extends DynamicCollection<E> implements List<E>, RandomAccess { @Override public ListIterator<E> listIterator() { return iterator(); }  @Override boolean addAll(int index, Collection<? extends E> c); @Override E set(int index, E element); @Override void add(int index, E element); @Override int indexOf(Object o); @Override int lastIndexOf(Object o); E get(int index); @Override ListIterator<E> listIterator(); @Override ListIterator<E> listIterator(int index); @Override List<E> subList(int fromIndex, int toIndex);  }