### Question:
BasicResultList extends AbstractList<Result> implements LenskitResultList { @Override public boolean contains(Object object) { return results.contains(object); } BasicResultList(List<? extends Result> rss); @Override Result get(int index); @Override int size(); @Override UnmodifiableIterator<Result> iterator(); @Override UnmodifiableListIterator<Result> listIterator(); @Override UnmodifiableListIterator<Result> listIterator(int index); @Override int indexOf(Object object); @Override int lastIndexOf(Object object); @Override boolean contains(Object object); @Override ImmutableList<Result> subList(int fromIndex, int toIndex); @Override boolean equals(Object obj); @Override int hashCode(); @Override boolean isEmpty(); @Override Object[] toArray(); @Override T[] toArray(T[] a); @Override boolean containsAll(Collection<?> c); @Override LongList idList();  }### Answer:
@Test public void testMultiList() { ResultList r = Results.<Result>newResultList(Results.create(42L, 3.5), Results.create(37L, 4.2)); assertThat(r, hasSize(2)); assertThat(r, contains((Result) Results.create(42L, 3.5), (Result) Results.create(37L, 4.2))); }