/guava/guava/src/com/google/common/collect/NaturalOrdering.java
checkNotNull( right) ;checkNotNull( left) ;
checkNotNull ( left ) ;
final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable { static final NaturalOrdering INSTANCE = new NaturalOrdering(); @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsFirst; @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsLast; @Override public int compare(Comparable<?> left, Comparable<?> right) { <extra_id_0> checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() { Ordering<@Nullable Comparable<?>> result = nullsFirst;