private static boolean equal(double a, double b) {
        return Math.abs(a - b) < 0.00000001;
    }
Returns this.isUnspecified() ? Optional.empty() : Optional.of(this)
config-provisioning/src/main/java/com/yahoo/config/provision/NodeResources.java