public MyList filter(ListFilter lf) {
	MyList newlist = new MyList();
	Iterator it = iterator();
	while(it.hasNext()) {
	    Object o = it.next();
	    if (lf.test(o)) newlist.add(o);
	}
	return newlist;
    }