@Test public void testOneOne() { ConcatenatedLists<Long> c = new ConcatenatedLists<Long>(); c.addSublist(Arrays.asList(0L)); verify(c, 0); }
public void addSublist(List<T> items) { if (!items.isEmpty()) { this.components.add(items); this.size += items.size(); } }
ConcatenatedLists implements Collection<T> { public void addSublist(List<T> items) { if (!items.isEmpty()) { this.components.add(items); this.size += items.size(); } } }
ConcatenatedLists implements Collection<T> { public void addSublist(List<T> items) { if (!items.isEmpty()) { this.components.add(items); this.size += items.size(); } }  }
ConcatenatedLists implements Collection<T> { public void addSublist(List<T> items) { if (!items.isEmpty()) { this.components.add(items); this.size += items.size(); } }  void addAllSublists(List<? extends List<T>> items); void addSublist(List<T> items); @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Object o); @Override boolean containsAll(Collection<?> c); @Override Object[] toArray(); @Override @SuppressWarnings("unchecked") U[] toArray(U[] a); @Override boolean add(T e); @Override boolean remove(Object o); @Override boolean addAll(Collection<? extends T> c); @Override boolean removeAll(Collection<?> c); @Override boolean retainAll(Collection<?> c); @Override void clear(); @Override java.util.Iterator<T> iterator(); }
ConcatenatedLists implements Collection<T> { public void addSublist(List<T> items) { if (!items.isEmpty()) { this.components.add(items); this.size += items.size(); } }  void addAllSublists(List<? extends List<T>> items); void addSublist(List<T> items); @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Object o); @Override boolean containsAll(Collection<?> c); @Override Object[] toArray(); @Override @SuppressWarnings("unchecked") U[] toArray(U[] a); @Override boolean add(T e); @Override boolean remove(Object o); @Override boolean addAll(Collection<? extends T> c); @Override boolean removeAll(Collection<?> c); @Override boolean retainAll(Collection<?> c); @Override void clear(); @Override java.util.Iterator<T> iterator();  }