BaseNode$TrieEntry.smali

.class public Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;
.super Ljava/util/AbstractMap$SimpleEntry;

# interfaces
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "TrieEntry"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/util/AbstractMap$SimpleEntry",
        "<",
        "Ljava/lang/String;",
        "TV;>;",
        "Ljava/lang/Comparable",
        "<",
        "Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode",
        "<TV;>.TrieEntry;>;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode;


# direct methods
.method public constructor <init>(Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode;Ljava/lang/String;Ljava/lang/Object;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "TV;)V"
        }
    .end annotation

    iput-object p1, p0, Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;->a:Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode;

    invoke-direct {p0, p2, p3}, Ljava/util/AbstractMap$SimpleEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    return-void
.end method


# virtual methods
.method public a(Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;)I
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode",
            "<TV;>.TrieEntry;)I"
        }
    .end annotation

    invoke-virtual {p0}, Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;->getKey()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1}, Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method public synthetic compareTo(Ljava/lang/Object;)I
    .registers 3

    check-cast p1, Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;

    invoke-virtual {p0, p1}, Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;->a(Lcom/hankcs/hanlp/collection/trie/bintrie/BaseNode$TrieEntry;)I

    move-result v0

    return v0
.end method