/** * @param search_keys * @return */ public Collection<CatalogPair> findAll(CatalogType... search_keys) { List<CatalogPair> found = new ArrayList<CatalogPair>(); for (CatalogPair entry : this) { for (CatalogType key : search_keys) { if (entry.contains(key)) { found.add(entry); } } // FOR } // FOR return (found); }