com.google.common.base.Stopwatch.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2 ? b
c
d
e
c
f g 0
h i j k l
h m
n o p q
r s t
s u
v w x y z
{ |
}
~ s ? s ? s ? s ? s ? s ? - ?
s ? ? ? ? ? ? ? ? ?
+ c ? InnerClasses ticker Lcom/google/common/base/Ticker; isRunning Z elapsedNanos J startTick createUnstarted $()Lcom/google/common/base/Stopwatch; Code LineNumberTable RuntimeVisibleAnnotations #Ljavax/annotation/CheckReturnValue; C(Lcom/google/common/base/Ticker;)Lcom/google/common/base/Stopwatch; LocalVariableTable
createStarted ()V this "Lcom/google/common/base/Stopwatch; "(Lcom/google/common/base/Ticker;)V ()Z start
StackMapTable stop tick reset ()J elapsed "(Ljava/util/concurrent/TimeUnit;)J desiredUnit Ljava/util/concurrent/TimeUnit; toString ()Ljava/lang/String; nanos unit value D RuntimeInvisibleAnnotations /Lcom/google/common/annotations/GwtIncompatible; String.format()
chooseUnit "(J)Ljava/util/concurrent/TimeUnit;
abbreviate 3(Ljava/util/concurrent/TimeUnit;)Ljava/lang/String;
SourceFile Stopwatch.java -Lcom/google/common/annotations/GwtCompatible; emulated com/google/common/base/Stopwatch @ A @ D F 8 ? ? 0 1 ? ? ? com/google/common/base/Ticker 2 3 "This stopwatch is already running. ? ? ? K 6 5 "This stopwatch is already stopped. 4 5 4 K ? ? O ? ? Y Z ? ? ? %.4g %s java/lang/Object ? ? ? [ \ ? ? ? ? O ? O ? O ? O ? O ? O ? ? ? ? ns μs ms s min h d java/lang/AssertionError "com/google/common/base/Stopwatch$1 systemTicker !()Lcom/google/common/base/Ticker; $com/google/common/base/Preconditions checkNotNull 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkState (ZLjava/lang/Object;)V read java/util/concurrent/TimeUnit NANOSECONDS convert #(JLjava/util/concurrent/TimeUnit;)J java/util/Locale ROOT Ljava/util/Locale; java/lang/Double valueOf (D)Ljava/lang/Double; java/lang/String format K(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; DAYS HOURS MINUTES SECONDS MILLISECONDS MICROSECONDS ($SwitchMap$java$util$concurrent$TimeUnit [I ordinal ()I 1 0 1 2 3 4 5 6 5 7 8 9 ? Y? ? : [ ; <