public MapBuilder addNumber(String fieldName, boolean include, Supplier<Number> supplier) {
        if (include) {
            Number value = supplier.get();
            if (value != null) {
                map.put(getFieldName(fieldName), value);
            }
        }
        return this;
    }
public MapBuilder addNumber ( String fieldName , boolean include , Supplier < Number > supplier ) { if ( include ) { Number value = supplier . get ( ) ; if ( value != null ) { map . put ( getFieldName ( fieldName ) , value ) ; } } return this ; }
Adds the number value to the provided map under the provided field name,
if it should be included. The supplier is only invoked if the field is to be included.