public final class com.google.common.primitives.UnsignedInts
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.UnsignedInts
super_class: java.lang.Object
{
static final long INT_MASK;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
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/UnsignedInts;
static int flip(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc -2147483648
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static int compare(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
iload 1
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
invokestatic com.google.common.primitives.Ints.compare:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a I
0 1 1 b I
MethodParameters:
Name Flags
a
b
public static long toLong(int);
descriptor: (I)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
i2l
ldc 4294967295
land
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value I
MethodParameters:
Name Flags
value
public static int checkedCast(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
bipush 32
lshr
lconst_0
lcmp
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "out of range: %s"
lload 0
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;J)V
3: lload 0
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 value J
MethodParameters:
Name Flags
value
public static int saturatedCast(long);
descriptor: (J)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
lconst_0
lcmp
ifgt 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
lload 0
ldc 4294967296
lcmp
iflt 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
lload 0
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value J
MethodParameters:
Name Flags
value
public static int min(int[]);
descriptor: ([I)I
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, 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
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
istore 1
start local 1 4: iconst_1
istore 2
start local 2 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 0
iload 2
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
istore 3
start local 3 7: iload 3
iload 1
if_icmpge 9
8: iload 3
istore 1
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 11: iload 1
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 array [I
4 12 1 min I
5 11 2 i I
7 9 3 next I
MethodParameters:
Name Flags
array
public static int max(int[]);
descriptor: ([I)I
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, 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
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
istore 1
start local 1 4: iconst_1
istore 2
start local 2 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 0
iload 2
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
istore 3
start local 3 7: iload 3
iload 1
if_icmple 9
8: iload 3
istore 1
end local 3 9: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 11: iload 1
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 array [I
4 12 1 max I
5 11 2 i I
7 9 3 next I
MethodParameters:
Name Flags
array
public static java.lang.String join(java.lang.String, int[]);
descriptor: (Ljava/lang/String;[I)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
iconst_5
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 4: aload 2
aload 1
iconst_0
iaload
invokestatic com.google.common.primitives.UnsignedInts.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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
iaload
invokestatic com.google.common.primitives.UnsignedInts.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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 [I
4 11 2 builder Ljava/lang/StringBuilder;
6 10 3 i I
MethodParameters:
Name Flags
separator
array
public static java.util.Comparator<int[]> 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.UnsignedInts$LexicographicalComparator.INSTANCE:Lcom/google/common/primitives/UnsignedInts$LexicographicalComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<[I>;
public static void sort(int[]);
descriptor: ([I)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.UnsignedInts.sort:([III)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [I
MethodParameters:
Name Flags
array
public static void sort(int[], int, int);
descriptor: ([III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, 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: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
iload 3
aload 0
iload 3
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
iastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
iload 1
iload 2
invokestatic java.util.Arrays.sort:([III)V
8: iload 1
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
iload 3
aload 0
iload 3
iaload
invokestatic com.google.common.primitives.UnsignedInts.flip:(I)I
iastore
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 2
if_icmplt 10
end local 3 13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 array [I
0 14 1 fromIndex I
0 14 2 toIndex I
3 7 3 i I
9 13 3 i I
MethodParameters:
Name Flags
array
fromIndex
toIndex
public static void sortDescending(int[]);
descriptor: ([I)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.UnsignedInts.sortDescending:([III)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [I
MethodParameters:
Name Flags
array
public static void sortDescending(int[], int, int);
descriptor: ([III)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, 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: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
iload 3
dup2
iaload
ldc 2147483647
ixor
iastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 2
if_icmplt 4
end local 3 7: aload 0
iload 1
iload 2
invokestatic java.util.Arrays.sort:([III)V
8: iload 1
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 0
iload 3
dup2
iaload
ldc 2147483647
ixor
iastore
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 2
if_icmplt 10
end local 3 13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 array [I
0 14 1 fromIndex I
0 14 2 toIndex I
3 7 3 i I
9 13 3 i I
MethodParameters:
Name Flags
array
fromIndex
toIndex
public static int divide(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic com.google.common.primitives.UnsignedInts.toLong:(I)J
iload 1
invokestatic com.google.common.primitives.UnsignedInts.toLong:(I)J
ldiv
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dividend I
0 1 1 divisor I
MethodParameters:
Name Flags
dividend
divisor
public static int remainder(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 0
invokestatic com.google.common.primitives.UnsignedInts.toLong:(I)J
iload 1
invokestatic com.google.common.primitives.UnsignedInts.toLong:(I)J
lrem
l2i
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 dividend I
0 1 1 divisor I
MethodParameters:
Name Flags
dividend
divisor
public static int decode(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.primitives.ParseRequest.fromString:(Ljava/lang/String;)Lcom/google/common/primitives/ParseRequest;
astore 1
start local 1 1: aload 1
getfield com.google.common.primitives.ParseRequest.rawValue:Ljava/lang/String;
aload 1
getfield com.google.common.primitives.ParseRequest.radix:I
invokestatic com.google.common.primitives.UnsignedInts.parseUnsignedInt:(Ljava/lang/String;I)I
2: ireturn
3: StackMap locals: java.lang.String com.google.common.primitives.ParseRequest
StackMap stack: java.lang.NumberFormatException
astore 2
start local 2 4: new java.lang.NumberFormatException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
5: astore 3
start local 3 6: aload 3
aload 2
invokevirtual java.lang.NumberFormatException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
7: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 stringValue Ljava/lang/String;
1 8 1 request Lcom/google/common/primitives/ParseRequest;
4 8 2 e Ljava/lang/NumberFormatException;
6 8 3 decodeException Ljava/lang/NumberFormatException;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
stringValue
public static int parseUnsignedInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 10
invokestatic com.google.common.primitives.UnsignedInts.parseUnsignedInt:(Ljava/lang/String;I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
s
public static int parseUnsignedInt(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, 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 0
iload 1
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;I)J
lstore 2
start local 2 2: lload 2
ldc 4294967295
land
lload 2
lcmp
ifeq 6
3: new java.lang.NumberFormatException
dup
4: new java.lang.StringBuilder
dup
ldc "Input "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in base "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is not in the range of an unsigned integer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: long
StackMap stack:
lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 string Ljava/lang/String;
0 7 1 radix I
2 7 2 result J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
string
radix
public static java.lang.String toString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 10
invokestatic com.google.common.primitives.UnsignedInts.toString:(II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x I
MethodParameters:
Name Flags
x
public static java.lang.String toString(int, int);
descriptor: (II)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 0
i2l
ldc 4294967295
land
lstore 2
start local 2 1: lload 2
iload 1
invokestatic java.lang.Long.toString:(JI)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 x I
0 2 1 radix I
1 2 2 asLong J
MethodParameters:
Name Flags
x
radix
}
SourceFile: "UnsignedInts.java"
NestMembers:
com.google.common.primitives.UnsignedInts$LexicographicalComparator
InnerClasses:
final LexicographicalComparator = com.google.common.primitives.UnsignedInts$LexicographicalComparator of com.google.common.primitives.UnsignedInts
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtCompatible()