Hey all I'm trying to understand a bit of code in the GWT showcase, and I'm not sure what the following code does. Can someone explain it, and more importantly, explain why the syntax works the way it does? I haven't seen anything like it and I don't know why/how it works. Thanks!
public int compareTo(ContactInfo o) {
return (o == null || o.firstName == null) ? -1 : -o.firstName.compareTo(firstName);
}