| queryResults.stream()
|
| .anyMatch(obj -> {
|
| JSONObject result = (JSONObject) obj;
|
| return result.values().stream()
|
| .anyMatch(value -> invoiceNumber.equals(String.valueOf(value)));
|
| });
|
| queryResults.stream()
|
| .anyMatch(obj -> {
|
| JSONObject result = (JSONObject) obj;
|
| return result.values().stream()
|
| .anyMatch(value -> invoiceNumber.equals(String.valueOf(value)));
|
| });
|