i.smali
.class public final Lcom/carrotsearch/hppc/i;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static a:Ljava/lang/String;
.field private static final b:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 29
new-instance v0, Ljava/lang/String;
invoke-direct {v0}, Ljava/lang/String;-><init>()V
sput-object v0, Lcom/carrotsearch/hppc/i;->b:Ljava/lang/String;
return-void
.end method
.method private constructor <init>()V
.registers 1
.line 31
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a()J
.registers 4
.line 45
sget-object v0, Lcom/carrotsearch/hppc/i;->a:Ljava/lang/String;
if-nez v0, :cond_28
.line 47
:try_start_4
new-instance v0, Lcom/carrotsearch/hppc/i$1;
invoke-direct {v0}, Lcom/carrotsearch/hppc/i$1;-><init>()V
invoke-static {v0}, Ljava/security/AccessController;->doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
sput-object v0, Lcom/carrotsearch/hppc/i;->a:Ljava/lang/String;
:try_end_11
.catch Ljava/lang/SecurityException; {:try_start_4 .. :try_end_11} :catch_12
goto :goto_28
:catch_12
move-exception v0
.line 55
sget-object v1, Lcom/carrotsearch/hppc/i;->b:Ljava/lang/String;
sput-object v1, Lcom/carrotsearch/hppc/i;->a:Ljava/lang/String;
.line 56
const-class v1, Lcom/carrotsearch/hppc/i;
invoke-virtual {v1}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;
move-result-object v1
sget-object v2, Ljava/util/logging/Level;->INFO:Ljava/util/logging/Level;
const-string v3, "Failed to read \'tests.seed\' property for initial random seed."
.line 57
invoke-virtual {v1, v2, v3, v0}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
.line 62
:cond_28
:goto_28
sget-object v0, Lcom/carrotsearch/hppc/i;->a:Ljava/lang/String;
sget-object v1, Lcom/carrotsearch/hppc/i;->b:Ljava/lang/String;
if-eq v0, v1, :cond_34
.line 63
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
int-to-long v0, v0
goto :goto_43
.line 68
:cond_34
invoke-static {}, Ljava/lang/System;->nanoTime()J
move-result-wide v0
new-instance v2, Ljava/lang/Object;
invoke-direct {v2}, Ljava/lang/Object;-><init>()V
.line 69
invoke-static {v2}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v2
int-to-long v2, v2
xor-long/2addr v0, v2
.line 71
:goto_43
invoke-static {v0, v1}, Lcom/carrotsearch/hppc/f;->a(J)J
move-result-wide v0
return-wide v0
.end method
.method static synthetic b()Ljava/lang/String;
.registers 1
.line 12
sget-object v0, Lcom/carrotsearch/hppc/i;->b:Ljava/lang/String;
return-object v0
.end method