src/main/java/org/xmlet/xsdparser/xsdelements/xsdrestrictions/XsdDoubleRestrictions.java
public static boolean hasDifferentValue(XsdDoubleRestrictions o1, XsdDoubleRestrictions o2) {
        if (o1 == null && o2 == null) {
            return false;
        }

        double o1Value = Double.MAX_VALUE;
        double o2Value;

        if (o1 != null) {
            o1Value = o1.getValue();
        }

        if (o2 != null) {
            o2Value = o2.getValue();
            return o2Value == o1Value;
        }

        return false;
    }
public static boolean hasDifferentValue(XsdDoubleRestrictions o1, XsdDoubleRestrictions o2) {
        if (o1 == null && o2 == null) {
            return false;
        }

        double o1Value = Double.MAX_VALUE;
        double o2Value;

        if (o1 != null) {
            o1Value = o1.getValue();
        }

        if (o2 != null) {
            o2Value = o2.getValue();
            return o2Value == o1Value;
        }

        return false;
    }
public static boolean hasDifferentValue ( XsdDoubleRestrictions o1 , XsdDoubleRestrictions o2 ) { if ( o1 == null && o2 == null ) { return false ; } double o1Value = Double . MAX_VALUE ; double o2Value ; if ( o1 != null ) { o1Value = o1 . getValue ( ) ; } if ( o2 != null ) { o2Value = o2 . getValue ( ) ; return o2Value == o1Value ; } return false ; }
Compares two different objects of this type.
@param o1 The first object.
@param o2 The object to compare.
@return True if the value of both classes is different, False if the value is equal.
Compares two different objects of this type .