when you look at the interface of Java"s source code Map, Entry < K _ Magi V >, you can"t understand how to write the methods in it
public static <K extends Comparable<? super K>, V> Comparator<Map.Entry<K,V>> comparingByKey() {
return (Comparator<Map.Entry<K, V>> & Serializable)
(c1, c2) -> c1.getKey().compareTo(c2.getKey());
}
I can"t understand this writing. Ask for explanation!