@Override public int hashCode() { int hash = 5; hash += 71 * hash + getType(); hash += 71 * hash + getID().hashCode(); return hash; }
|| (mycollection.getType() != Constants.COLLECTION)) { mycollection = null;
|| (mycollections.get(i).getType() != Constants.COLLECTION)) { mycollections.set(i, null);
String title = collectionService.getMetadata(collection, "name"); List<String> toIgnoreMetadataFields = SearchUtils.getIgnoredMetadataFields(collection.getType()); addContainerMetadataField(doc, highlightedMetadataFields, toIgnoreMetadataFields, "dc.description", description);