To me it seems the following should handle nulls for me (assuming left/right are null):
// .compare(
// unstructuredAnnotations,
// rhs.unstructuredAnnotations,
// Ordering.<UnstructuredAnnotation> natural()
// .nullsFirst().lexicographical())
I get a NPE on line 42 of the LexicographicalOrdering Class. Am I doing something wrong?
Thanks,
-Sonny
--
--
guava-...@googlegroups.com
Project site: http://guava-libraries.googlecode.com
This group: http://groups.google.com/group/guava-discuss
This list is for general discussion.
To report an issue: http://code.google.com/p/guava-libraries/issues/entry
To get help: http://stackoverflow.com/questions/ask (use the tag "guava")
---
You received this message because you are subscribed to the Google Groups "guava-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guava-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Perhaps you mean Ordering.natural().lexicographical().nullsFirst()?