Rafael González Castillero e159919ba5
List/Map emptiness checking and stream variation (#11920)
I have changed the way to check for empty maps and lists, instead of checking if the size is greater than 0, It is more understandable and faster using !x.isEmpty() method. Also, instead of using stream().filter().findFirst().isPresent(), it is recomendable using its equivalent stream().anyMatch() which as well makes it easier to understand and efficient.
2022-03-21 23:30:43 +08:00
..
2022-02-23 16:38:25 +08:00