class DimensionalObjectUtils {

    public static Map<DimensionalItemObject, Double> convertToDimItemValueMap(
        List<DimensionItemObjectValue> dimensionItemObjectValues )
    {
        return dimensionItemObjectValues.stream()
            .filter( item -> item.getValue() != null )
            .collect( Collectors
                .toMap( DimensionItemObjectValue::getDimensionalItemObject, DimensionItemObjectValue::getValue ) );
    }

}