src/main/java/cz/diribet/aqdef/model/AqdefObjectModel.java
/**
	 * Iterates through all characteristics of all parts
	 *
	 * @param consumer
	 */
Iterates through all characteristics of all parts
@param consumer
Iterates through all characteristics of all parts @param consumer
public void forEachCharacteristic(CharacteristicConsumer consumer) {
		partEntries.forEach((partIndex, part) -> {
			Map<CharacteristicIndex, CharacteristicEntries> characteristicsOfPart = characteristicEntries.get(part.getIndex());
			if (characteristicsOfPart != null) {
				characteristicsOfPart.forEach((characteristicIndex, characteristic) -> {
					consumer.accept(part, characteristic);
				});
			}
		});
	}
public void forEachCharacteristic ( CharacteristicConsumer consumer ) { partEntries . forEach ( ( partIndex , part ) -> { Map < CharacteristicIndex , CharacteristicEntries > characteristicsOfPart = characteristicEntries . get ( part . getIndex ( ) ) ; if ( characteristicsOfPart != null ) { characteristicsOfPart . forEach ( ( characteristicIndex , characteristic ) -> { consumer . accept ( part , characteristic ) ; } ) ; } } ) ; }
Iterates through all characteristics of all parts
 @param consumer
Iterates through all characteristics of all parts @param consumer