Code example for Set

Methods: isEmpty

0
 
			Fields ddmFields = createDDMFields(metadata, fields);
 
			Set<String> names = ddmFields.getNames();
 
			if (names.isEmpty()) {
				continue; 
			} 
 
			ddmFieldsMap.put(key, ddmFields);
		} 
 
		return ddmFieldsMap;
	} 
 
	protected abstract Metadata extractMetadata( 
			String extension, String mimeType, File file)
		throws PortalException; 
 
	protected abstract Metadata extractMetadata( 
Connect your IDE to all the code out there  Get Codota for Java