(JAVA) Use starter code MetaCollection.java and Test.java. Thecode must work with Test.java and finally everything must be put ina package called booklist.
Side note for some reason the formatting is a bit funky on thispost thus some parts that seem cut off are there you just have toside scroll with the mouse or the arrow keys.
Starter Code:
******************************************************************************
MetaCollection.java
package booklist;
import java.util.AbstractCollection;
import java.util.Iterator;
import java.util.Collection;
import java.util.ArrayList;
public class MetaCollection<E> extendsAbstractCollection<E> {
//keep reference added collections in this list
private final ArrayList<Collection<E>>collectionList;
public void addCollection(Collection<E> coll) {
}
@Override
public Iterator<E> iterator() {
return new JoinedIter();
}
@Override
public int size() {
}
}
******************************************************************************
Test.java import booklist.ListUtil;import booklist.MetaCollection;import booklist.PhoneUtil; import java.math.BigInteger;import java.util.*;import java.util.function.Predicate; public class Test { public
PayPal Gateway not configured
PayPal Gateway not configured