Comparators.comparing doesn't handle nulls (original) (raw)

Michael Nascimento misterm at gmail.com
Thu Apr 18 13:28:06 PDT 2013


Hi guys,

In most usages of Guava's ComparisonChain / Ordering that I am trying to replace with Comparator, nulls are involved. Comparators.comparing provides no easy way of handling this except by writing verbose code.

Any plans to improve on that?

Regards, Michael



More information about the lambda-dev mailing list