public static boolean greaterOrEqualsVersion(String versionA, String versionB) {
        String largerVersion = extractLargerVersion(versionA, versionB);
        return largerVersion != null && largerVersion.equals(versionA);
    }
public static boolean greaterOrEqualsVersion ( String versionA , String versionB ) { String largerVersion = extractLargerVersion ( versionA , versionB ) ; return largerVersion != null && largerVersion . equals ( versionA ) ; }
Check whether the first given API version is larger or equals the second given version

@param versionA first version to check against
@param versionB the second version
@return true if versionA is greater or equals versionB, false otherwise