- Type Parameters:
T
- the type to compareC
- the type of the comparable key
public static class KeyComparator
extends java.lang.Object
A comparator that compares objects by calling the supplied key function on them and then comparing the resulting
keys. It is null-safe if the key's compareTo method is null-safe.
- See Also:
- Serialized Form