123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- .class final Lokhttp3/CipherSuite$1;
- .super Ljava/lang/Object;
- .source ""
- # interfaces
- .implements Ljava/util/Comparator;
- # annotations
- .annotation system Ldalvik/annotation/EnclosingClass;
- value = Lokhttp3/CipherSuite;
- .end annotation
- .annotation system Ldalvik/annotation/InnerClass;
- accessFlags = 0x0
- name = null
- .end annotation
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/lang/Object;",
- "Ljava/util/Comparator<",
- "Ljava/lang/String;",
- ">;"
- }
- .end annotation
- # direct methods
- .method constructor <init>()V
- .locals 0
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
- return-void
- .end method
- # virtual methods
- .method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
- .locals 0
- check-cast p1, Ljava/lang/String;
- check-cast p2, Ljava/lang/String;
- invoke-virtual {p0, p1, p2}, Lokhttp3/CipherSuite$1;->compare(Ljava/lang/String;Ljava/lang/String;)I
- move-result p1
- return p1
- .end method
- .method public compare(Ljava/lang/String;Ljava/lang/String;)I
- .locals 6
- invoke-virtual {p1}, Ljava/lang/String;->length()I
- move-result v0
- invoke-virtual {p2}, Ljava/lang/String;->length()I
- move-result v1
- invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
- move-result v0
- const/4 v1, 0x4
- :goto_0
- const/4 v2, -0x1
- const/4 v3, 0x1
- if-ge v1, v0, :cond_2
- invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C
- move-result v4
- invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C
- move-result v5
- if-eq v4, v5, :cond_1
- if-ge v4, v5, :cond_0
- goto :goto_1
- :cond_0
- const/4 v2, 0x1
- :goto_1
- return v2
- :cond_1
- add-int/lit8 v1, v1, 0x1
- goto :goto_0
- :cond_2
- invoke-virtual {p1}, Ljava/lang/String;->length()I
- move-result p1
- invoke-virtual {p2}, Ljava/lang/String;->length()I
- move-result p2
- if-eq p1, p2, :cond_4
- if-ge p1, p2, :cond_3
- goto :goto_2
- :cond_3
- const/4 v2, 0x1
- :goto_2
- return v2
- :cond_4
- const/4 p1, 0x0
- return p1
- .end method
|