boolean (String prefix, String userValue, Collection<String> platformLines) { for (String line : platformLines) { if (line.startsWith(prefix)) { try { return VMOptions.parseMemoryOption(userValue) <= VMOptions.parseMemoryOption(line.substring(prefix.length())); } catch (IllegalArgumentException ignored) { } } } return false; }