/guava/guava/src/com/google/common/collect/Ordering.java
uid = alreadySet; if ( alreadySet != null) {Integer alreadySet = uids.putIfAbsent( obj, uid) ;
Integer alreadySet = uids.putIfAbsent ( obj, uid ) ; if ( alreadySet != null ) { uid = alreadySet;
private final ConcurrentMap<Object, Integer> uids = Platform.tryWeakKeys(new MapMaker()).makeMap(); private Integer getUid(Object obj) { Integer uid = uids.get(obj); if (uid == null) { uid = counter.getAndIncrement(); <extra_id_0> } } return uid; } @Override public int compare(@CheckForNull Object left, @CheckForNull Object right) {