public static HealthReport max(HealthReport a, HealthReport b) {
        if (a == null && b == null) return null;
        if (a == null) return b;
        if (b == null) return a;
        if (a.compareTo(b) >= 0) return a;
        return b;
    }
public static HealthReport max ( HealthReport a , HealthReport b ) { if ( a == null && b == null ) return null ; if ( a == null ) return b ; if ( b == null ) return a ; if ( a . compareTo ( b ) >= 0 ) return a ; return b ; }
Utility method to find the report with the highest health.