Comparators.comparing doesn't handle nulls (original) (raw)
Michael Nascimento misterm at gmail.com
Thu Apr 18 13:28:06 PDT 2013
- Previous message: hg: lambda/lambda/jdk: Spec updates for Collection as part of JDK-8012542
- Next message: Comparators.comparing doesn't handle nulls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hg: lambda/lambda/jdk: Spec updates for Collection as part of JDK-8012542
- Next message: Comparators.comparing doesn't handle nulls
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]