mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
121 lines
2.9 KiB
Smali
121 lines
2.9 KiB
Smali
.class public final Lcom/google/common/math/Quantiles$Scale;
|
|
.super Ljava/lang/Object;
|
|
.source "Quantiles.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/math/Quantiles;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Scale"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final scale:I
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>(I)V
|
|
.locals 2
|
|
|
|
.line 169
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
if-lez p1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const-string v1, "Quantile scale must be positive"
|
|
|
|
.line 170
|
|
invoke-static {v0, v1}, Lcom/google/common/base/Preconditions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
iput p1, p0, Lcom/google/common/math/Quantiles$Scale;->scale:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method synthetic constructor <init>(ILcom/google/common/math/Quantiles$1;)V
|
|
.locals 0
|
|
|
|
.line 165
|
|
invoke-direct {p0, p1}, Lcom/google/common/math/Quantiles$Scale;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public index(I)Lcom/google/common/math/Quantiles$ScaleAndIndex;
|
|
.locals 2
|
|
|
|
.line 180
|
|
new-instance v0, Lcom/google/common/math/Quantiles$ScaleAndIndex;
|
|
|
|
iget p0, p0, Lcom/google/common/math/Quantiles$Scale;->scale:I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p0, p1, v1}, Lcom/google/common/math/Quantiles$ScaleAndIndex;-><init>(IILcom/google/common/math/Quantiles$1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public indexes(Ljava/util/Collection;)Lcom/google/common/math/Quantiles$ScaleAndIndexes;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Collection<",
|
|
"Ljava/lang/Integer;",
|
|
">;)",
|
|
"Lcom/google/common/math/Quantiles$ScaleAndIndexes;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 206
|
|
new-instance v0, Lcom/google/common/math/Quantiles$ScaleAndIndexes;
|
|
|
|
iget p0, p0, Lcom/google/common/math/Quantiles$Scale;->scale:I
|
|
|
|
invoke-static {p1}, Lcom/google/common/primitives/Ints;->toArray(Ljava/util/Collection;)[I
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p0, p1, v1}, Lcom/google/common/math/Quantiles$ScaleAndIndexes;-><init>(I[ILcom/google/common/math/Quantiles$1;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public varargs indexes([I)Lcom/google/common/math/Quantiles$ScaleAndIndexes;
|
|
.locals 2
|
|
|
|
.line 193
|
|
new-instance v0, Lcom/google/common/math/Quantiles$ScaleAndIndexes;
|
|
|
|
iget p0, p0, Lcom/google/common/math/Quantiles$Scale;->scale:I
|
|
|
|
invoke-virtual {p1}, [I->clone()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, [I
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, p0, p1, v1}, Lcom/google/common/math/Quantiles$ScaleAndIndexes;-><init>(I[ILcom/google/common/math/Quantiles$1;)V
|
|
|
|
return-object v0
|
|
.end method
|