public final class com.google.common.primitives.Doubles
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.Doubles
super_class: java.lang.Object
{
public static final int BYTES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final java.util.regex.Pattern FLOATING_POINT_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0018) ACC_STATIC, ACC_FINAL
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic com.google.common.primitives.Doubles.fpPattern:()Ljava/util/regex/Pattern;
putstatic com.google.common.primitives.Doubles.FLOATING_POINT_PATTERN:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/primitives/Doubles;
public static int hashCode(double);
descriptor: (D)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual java.lang.Double.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value
public static int compare(double, double);
descriptor: (DD)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 2 0: dload 0
dload 2
invokestatic java.lang.Double.compare:(DD)I
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a D
0 1 2 b D
MethodParameters:
Name Flags
a
b
public static boolean isFinite(double);
descriptor: (D)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc -Infinity
dload 0
dcmpg
ifge 1
dload 0
ldc Infinity
dcmpg
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 value D
MethodParameters:
Name Flags
value
public static boolean contains(double[], double);
descriptor: ([DD)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 5
StackMap locals: double[] double top top int int double[]
StackMap stack:
1: aload 7
iload 5
daload
dstore 3
start local 3 2: dload 3
dload 1
dcmpl
ifne 4
3: iconst_1
ireturn
end local 3 4: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
iload 6
if_icmplt 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [D
0 7 1 target D
2 4 3 value D
MethodParameters:
Name Flags
array
target
public static int indexOf(double[], double);
descriptor: ([DD)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Doubles.indexOf:([DDII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [D
0 1 1 target D
MethodParameters:
Name Flags
array
target
private static int indexOf(double[], double, int, int);
descriptor: ([DDII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: iload 3
istore 5
start local 5 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 5
daload
dload 1
dcmpl
ifne 4
3: iload 5
ireturn
4: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
5: iload 5
iload 4
if_icmplt 2
end local 5 6: iconst_m1
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [D
0 7 1 target D
0 7 3 start I
0 7 4 end I
1 6 5 i I
MethodParameters:
Name Flags
array
target
start
end
public static int indexOf(double[], double[]);
descriptor: ([D[D)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "array"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
ldc "target"
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
arraylength
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: goto 14
6: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
iload 2
iload 3
iadd
daload
aload 1
iload 3
daload
dcmpl
ifeq 10
9: goto 13
10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 1
arraylength
if_icmplt 8
end local 3 12: iload 2
ireturn
13: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
aload 0
arraylength
aload 1
arraylength
isub
iconst_1
iadd
if_icmplt 6
end local 2 15: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 array [D
0 16 1 target [D
5 15 2 i I
7 12 3 j I
MethodParameters:
Name Flags
array
target
public static int lastIndexOf(double[], double);
descriptor: ([DD)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Doubles.lastIndexOf:([DDII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [D
0 1 1 target D
MethodParameters:
Name Flags
array
target
private static int lastIndexOf(double[], double, int, int);
descriptor: ([DDII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: iload 4
iconst_1
isub
istore 5
start local 5 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 5
daload
dload 1
dcmpl
ifne 4
3: iload 5
ireturn
4: StackMap locals:
StackMap stack:
iinc 5 -1
StackMap locals:
StackMap stack:
5: iload 5
iload 3
if_icmpge 2
end local 5 6: iconst_m1
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [D
0 7 1 target D
0 7 3 start I
0 7 4 end I
1 6 5 i I
MethodParameters:
Name Flags
array
target
start
end
public static double min(double[]);
descriptor: ([D)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
3: aload 0
iconst_0
daload
dstore 1
start local 1 4: iconst_1
istore 3
start local 3 5: goto 8
6: StackMap locals: double int
StackMap stack:
dload 1
aload 0
iload 3
daload
invokestatic java.lang.Math.min:(DD)D
dstore 1
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
arraylength
if_icmplt 6
end local 3 9: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [D
4 10 1 min D
5 9 3 i I
MethodParameters:
Name Flags
array
public static double max(double[]);
descriptor: ([D)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
3: aload 0
iconst_0
daload
dstore 1
start local 1 4: iconst_1
istore 3
start local 3 5: goto 8
6: StackMap locals: double int
StackMap stack:
dload 1
aload 0
iload 3
daload
invokestatic java.lang.Math.max:(DD)D
dstore 1
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 0
arraylength
if_icmplt 6
end local 3 9: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [D
4 10 1 max D
5 9 3 i I
MethodParameters:
Name Flags
array
public static double constrainToRange(double, double, double);
descriptor: (DDD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 2 start local 4 0: dload 2
dload 4
dcmpg
ifgt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "min (%s) must be less than or equal to max (%s)"
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 4
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
3: dload 0
dload 2
invokestatic java.lang.Math.max:(DD)D
dload 4
invokestatic java.lang.Math.min:(DD)D
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value D
0 4 2 min D
0 4 4 max D
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
MethodParameters:
Name Flags
value
min
max
public static double[] concat(double[][]);
descriptor: ([[D)[D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=8, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: double[][] int top int int double[][]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: iload 1
aload 2
arraylength
iadd
istore 1
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: iload 1
newarray 7
astore 2
start local 2 7: iconst_0
istore 3
start local 3 8: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: double[][] int double[] int top int int double[][]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4
start local 4 10: aload 4
iconst_0
aload 2
iload 3
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: iload 3
aload 4
arraylength
iadd
istore 3
end local 4 12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 9
14: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 arrays [[D
1 15 1 length I
3 4 2 array [D
7 15 2 result [D
8 15 3 pos I
10 12 4 array [D
MethodParameters:
Name Flags
arrays
public static com.google.common.base.Converter<java.lang.String, java.lang.Double> stringConverter();
descriptor: ()Lcom/google/common/base/Converter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Doubles$DoubleConverter.INSTANCE:Lcom/google/common/primitives/Doubles$DoubleConverter;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/base/Converter<Ljava/lang/String;Ljava/lang/Double;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
public static double[] ensureCapacity(double[], int, int);
descriptor: ([DII)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Invalid minLength: %s"
iload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
3: iload 2
iflt 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Invalid padding: %s"
iload 2
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
6: aload 0
arraylength
iload 1
if_icmpge 7
aload 0
iload 1
iload 2
iadd
invokestatic java.util.Arrays.copyOf:([DI)[D
goto 8
StackMap locals:
StackMap stack:
7: aload 0
StackMap locals:
StackMap stack: double[]
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 array [D
0 9 1 minLength I
0 9 2 padding I
MethodParameters:
Name Flags
array
minLength
padding
public static java.lang.String join(java.lang.String, double[]);
descriptor: (Ljava/lang/String;[D)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
arraylength
ifne 3
2: ldc ""
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
arraylength
bipush 12
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 4: aload 2
aload 1
iconst_0
daload
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
5: iconst_1
istore 3
start local 3 6: goto 9
7: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 3
daload
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 1
arraylength
if_icmplt 7
end local 3 10: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 separator Ljava/lang/String;
0 11 1 array [D
4 11 2 builder Ljava/lang/StringBuilder;
6 10 3 i I
MethodParameters:
Name Flags
separator
array
public static java.util.Comparator<double[]> lexicographicalComparator();
descriptor: ()Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Doubles$LexicographicalComparator.INSTANCE:Lcom/google/common/primitives/Doubles$LexicographicalComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<[D>;
public static void sortDescending(double[]);
descriptor: ([D)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Doubles.sortDescending:([DII)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [D
MethodParameters:
Name Flags
array
public static void sortDescending(double[], int, int);
descriptor: ([DII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
iload 2
aload 0
arraylength
invokestatic com.google.common.base.Preconditions.checkPositionIndexes:(III)V
2: aload 0
iload 1
iload 2
invokestatic java.util.Arrays.sort:([DII)V
3: aload 0
iload 1
iload 2
invokestatic com.google.common.primitives.Doubles.reverse:([DII)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 array [D
0 5 1 fromIndex I
0 5 2 toIndex I
MethodParameters:
Name Flags
array
fromIndex
toIndex
public static void reverse(double[]);
descriptor: ([D)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Doubles.reverse:([DII)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [D
MethodParameters:
Name Flags
array
public static void reverse(double[], int, int);
descriptor: ([DII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 1
iload 2
aload 0
arraylength
invokestatic com.google.common.base.Preconditions.checkPositionIndexes:(III)V
2: iload 1
istore 3
start local 3 3: iload 2
iconst_1
isub
istore 4
start local 4 4: goto 9
5: StackMap locals: int int
StackMap stack:
aload 0
iload 3
daload
dstore 5
start local 5 6: aload 0
iload 3
aload 0
iload 4
daload
dastore
7: aload 0
iload 4
dload 5
dastore
end local 5 8: iinc 3 1
iinc 4 -1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 5
end local 4 end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [D
0 11 1 fromIndex I
0 11 2 toIndex I
3 10 3 i I
4 10 4 j I
6 8 5 tmp D
MethodParameters:
Name Flags
array
fromIndex
toIndex
public static double[] toArray(java.util.Collection<? extends java.lang.Number>);
descriptor: (Ljava/util/Collection;)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
instanceof com.google.common.primitives.Doubles$DoubleArrayAsList
ifeq 2
1: aload 0
checkcast com.google.common.primitives.Doubles$DoubleArrayAsList
invokevirtual com.google.common.primitives.Doubles$DoubleArrayAsList.toDoubleArray:()[D
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 1
start local 1 3: aload 1
arraylength
istore 2
start local 2 4: iload 2
newarray 7
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: java.util.Collection java.lang.Object[] int double[] int
StackMap stack:
aload 3
iload 4
aload 1
iload 4
aaload
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dastore
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
if_icmplt 7
end local 4 10: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 collection Ljava/util/Collection<+Ljava/lang/Number;>;
3 11 1 boxedArray [Ljava/lang/Object;
4 11 2 len I
5 11 3 array [D
6 10 4 i I
Signature: (Ljava/util/Collection<+Ljava/lang/Number;>;)[D
MethodParameters:
Name Flags
collection
public static java.util.List<java.lang.Double> asList(double[]);
descriptor: ([D)Ljava/util/List;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
arraylength
ifne 2
1: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
new com.google.common.primitives.Doubles$DoubleArrayAsList
dup
aload 0
invokespecial com.google.common.primitives.Doubles$DoubleArrayAsList.<init>:([D)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 backingArray [D
Signature: ([D)Ljava/util/List<Ljava/lang/Double;>;
MethodParameters:
Name Flags
backingArray
private static java.util.regex.Pattern fpPattern();
descriptor: ()Ljava/util/regex/Pattern;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=0
0: ldc "(?:\\d++(?:\\.\\d*+)?|\\.\\d++)"
astore 0
start local 0 1: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "(?:[eE][+-]?\\d++)?[fFdD]?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 2: ldc "(?:\\p{XDigit}++(?:\\.\\p{XDigit}*+)?|\\.\\p{XDigit}++)"
astore 2
start local 2 3: new java.lang.StringBuilder
dup
ldc "0[xX]"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "[pP][+-]?\\d++[fFdD]?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 4: new java.lang.StringBuilder
dup
ldc "[+-]?(?:NaN|Infinity|"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "|"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 5: aload 4
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 6 0 decimal Ljava/lang/String;
2 6 1 completeDec Ljava/lang/String;
3 6 2 hex Ljava/lang/String;
4 6 3 completeHex Ljava/lang/String;
5 6 4 fpPattern Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
public static java.lang.Double tryParse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Double;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.google.common.primitives.Doubles.FLOATING_POINT_PATTERN:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 4
1: aload 0
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 string Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
string
}
SourceFile: "Doubles.java"
NestMembers:
com.google.common.primitives.Doubles$DoubleArrayAsList com.google.common.primitives.Doubles$DoubleConverter com.google.common.primitives.Doubles$LexicographicalComparator
InnerClasses:
private DoubleArrayAsList = com.google.common.primitives.Doubles$DoubleArrayAsList of com.google.common.primitives.Doubles
private final DoubleConverter = com.google.common.primitives.Doubles$DoubleConverter of com.google.common.primitives.Doubles
private final LexicographicalComparator = com.google.common.primitives.Doubles$LexicographicalComparator of com.google.common.primitives.Doubles
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)