mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
26 lines
731 B
Java
26 lines
731 B
Java
package com.google.common.collect;
|
|
|
|
import java.io.Serializable;
|
|
|
|
@ElementTypesAreNonnullByDefault
|
|
/* loaded from: classes3.dex */
|
|
final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
|
|
static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
|
|
private static final long serialVersionUID = 0;
|
|
|
|
private Object readResolve() {
|
|
return INSTANCE;
|
|
}
|
|
|
|
public String toString() {
|
|
return "Ordering.usingToString()";
|
|
}
|
|
|
|
@Override // com.google.common.collect.Ordering, java.util.Comparator
|
|
public int compare(Object obj, Object obj2) {
|
|
return obj.toString().compareTo(obj2.toString());
|
|
}
|
|
|
|
private UsingToStringOrdering() {
|
|
}
|
|
}
|