public List getItemsByDescription(Set constraints) throws ObjectStoreException {
public List getItemsByDescription(Set constraints) {
    public List getItemsByDescription(Set constraints) throws ObjectStoreException {        List items = new ArrayList();        Iterator i = itemIterator();        while (i.hasNext()) {            Item item = (Item) i.next();            boolean matches = true;            Iterator descIter = constraints.iterator();            while (descIter.hasNext()) {                FieldNameAndValue f = (FieldNameAndValue) descIter.next();                if (!f.matches(item)) {                    matches = false;                }            }            if (matches) {                items.add(item);            }        }        return items;    }