leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/Bandwidth.java
public static Bandwidth bandwidth(float value, String unit) {
	    if(isEmptyString(unit)) {
	        return null;
	    }
	    return new Bandwidth(value, Unit.valueOf(unit.toUpperCase()));
	}
/**
	 * Creates a bandwidth value object.
	 * @param value the bandwidth value
	 * @param unit the bandwidth unit
	 * @return the bandwidth value
	 */
Creates a bandwidth value object.
@param value the bandwidth value
@param unit the bandwidth unit
@return the bandwidth value
Creates a bandwidth value object . @param value the bandwidth value @param unit the bandwidth unit @return the bandwidth value
public static Bandwidth bandwidth(float value, String unit) {
	    if(isEmptyString(unit)) {
	        return null;
	    }
	    return new Bandwidth(value, Unit.valueOf(unit.toUpperCase()));
	}
public static Bandwidth bandwidth ( float value , String unit ) { if ( isEmptyString ( unit ) ) { return null ; } return new Bandwidth ( value , Unit . valueOf ( unit . toUpperCase ( ) ) ) ; }
Creates a bandwidth value object.
Creates a bandwidth value object .