BleScannerImpl$2.smali

.class Lcom/facebook/places/internal/BleScannerImpl$2;
.super Ljava/lang/Object;
.source "BleScannerImpl.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/facebook/places/internal/BleScannerImpl;->getScanResults()Ljava/util/List;
.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<",
        "Lcom/facebook/places/internal/BluetoothScanResult;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/facebook/places/internal/BleScannerImpl;


# direct methods
.method constructor <init>(Lcom/facebook/places/internal/BleScannerImpl;)V
    .registers 2

    .line 170
    iput-object p1, p0, Lcom/facebook/places/internal/BleScannerImpl$2;->this$0:Lcom/facebook/places/internal/BleScannerImpl;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Lcom/facebook/places/internal/BluetoothScanResult;Lcom/facebook/places/internal/BluetoothScanResult;)I
    .registers 3

    .line 173
    iget p2, p2, Lcom/facebook/places/internal/BluetoothScanResult;->rssi:I

    iget p1, p1, Lcom/facebook/places/internal/BluetoothScanResult;->rssi:I

    sub-int/2addr p2, p1

    return p2
.end method

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

    .line 170
    check-cast p1, Lcom/facebook/places/internal/BluetoothScanResult;

    check-cast p2, Lcom/facebook/places/internal/BluetoothScanResult;

    invoke-virtual {p0, p1, p2}, Lcom/facebook/places/internal/BleScannerImpl$2;->compare(Lcom/facebook/places/internal/BluetoothScanResult;Lcom/facebook/places/internal/BluetoothScanResult;)I

    move-result p1

    return p1
.end method