true
false
7879808182838485868788
// ͨ��ָ����predicate��������ƥ���� for (Iterator i = matchItemList.iterator(); i.hasNext();) { MatchItem item = (MatchItem) i.next(); if (predicate.evaluate(item)) { context.setLastMatchItem(item); return true; } }
7677787980818283848586
// 通过指定的predicate过滤所有匹配项 for (Iterator i = matchItemList.iterator(); i.hasNext(); ) { MatchItem item = (MatchItem) i.next(); if (predicate.evaluate(item)) { context.setLastMatchItem(item); return true; } }