26 lines
688 B
Java
26 lines
688 B
Java
|
package o;
|
||
|
|
||
|
import java.util.Comparator;
|
||
|
|
||
|
/* renamed from: o.hz, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C15722hz implements Comparator<String> {
|
||
|
@Override // java.util.Comparator
|
||
|
public final /* synthetic */ int compare(String str, String str2) {
|
||
|
return c(str, str2);
|
||
|
}
|
||
|
|
||
|
public static int c(String str, String str2) {
|
||
|
if (C14957gcv.b((Object) str, (Object) str2)) {
|
||
|
return 0;
|
||
|
}
|
||
|
if (str2 == null || str2.length() == 0) {
|
||
|
return -1;
|
||
|
}
|
||
|
if (str == null || str.length() == 0) {
|
||
|
return 1;
|
||
|
}
|
||
|
return str.compareTo(str2);
|
||
|
}
|
||
|
}
|