void (List<MutablePair> destinations, String destination, Integer status) { destinations.stream().filter(pair -> pair.first.compareTo(destination) == 0).findFirst().ifPresent(pair -> pair.second = status); }