public static boolean isAtLeast ( String version , String requiredVersion ) { if ( version != null ) { SemanticVersion thisVersion = new SemanticVersion ( version ) ; SemanticVersion otherVersion = new SemanticVersion ( requiredVersion ) ; return thisVersion . compareTo ( otherVersion ) != - 1 ; } return false ; }
Check whether the version is at least the given version .