Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.google.android.gms.location;
|
||||
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import java.util.Comparator;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzg implements Comparator {
|
||||
@Override // java.util.Comparator
|
||||
public final /* bridge */ /* synthetic */ int compare(Object obj, Object obj2) {
|
||||
ActivityTransition activityTransition = (ActivityTransition) obj;
|
||||
ActivityTransition activityTransition2 = (ActivityTransition) obj2;
|
||||
Preconditions.checkNotNull(activityTransition);
|
||||
Preconditions.checkNotNull(activityTransition2);
|
||||
int activityType = activityTransition.getActivityType();
|
||||
int activityType2 = activityTransition2.getActivityType();
|
||||
if (activityType != activityType2) {
|
||||
return activityType >= activityType2 ? 1 : -1;
|
||||
}
|
||||
int transitionType = activityTransition.getTransitionType();
|
||||
int transitionType2 = activityTransition2.getTransitionType();
|
||||
if (transitionType == transitionType2) {
|
||||
return 0;
|
||||
}
|
||||
return transitionType < transitionType2 ? -1 : 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user