public final class com.google.common.primitives.SignedBytes
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.SignedBytes
super_class: java.lang.Object
{
public static final byte MAX_POWER_OF_TWO;
descriptor: B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
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/SignedBytes;
public static byte checkedCast(long);
descriptor: (J)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: lload 0
l2i
i2b
istore 2
start local 2 1: iload 2
i2l
lload 0
lcmp
ifne 2
iconst_1
goto 3
StackMap locals: int
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Out of range: %s"
lload 0
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;J)V
4: iload 2
ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value J
1 5 2 result B
MethodParameters:
Name Flags
value
public static byte saturatedCast(long);
descriptor: (J)B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 127
lcmp
ifle 2
1: bipush 127
ireturn
2: StackMap locals:
StackMap stack:
lload 0
ldc -128
lcmp
ifge 4
3: bipush -128
ireturn
4: StackMap locals:
StackMap stack:
lload 0
l2i
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value J
MethodParameters:
Name Flags
value
public static int compare(byte, byte);
descriptor: (BB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
isub
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a B
0 1 1 b B
MethodParameters:
Name Flags
a
b
public static byte min(byte[]);
descriptor: ([B)B
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=3, 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
baload
istore 1
start local 1 4: iconst_1
istore 2
start local 2 5: goto 9
6: StackMap locals: int int
StackMap stack:
aload 0
iload 2
baload
iload 1
if_icmpge 8
7: aload 0
iload 2
baload
istore 1
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [B
4 11 1 min B
5 10 2 i I
MethodParameters:
Name Flags
array
public static byte max(byte[]);
descriptor: ([B)B
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=3, 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
baload
istore 1
start local 1 4: iconst_1
istore 2
start local 2 5: goto 9
6: StackMap locals: int int
StackMap stack:
aload 0
iload 2
baload
iload 1
if_icmple 8
7: aload 0
iload 2
baload
istore 1
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 10: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 array [B
4 11 1 max B
5 10 2 i I
MethodParameters:
Name Flags
array
public static java.lang.String join(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)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
baload
invokevirtual java.lang.StringBuilder.append:(I)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
baload
invokevirtual java.lang.StringBuilder.append:(I)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 [B
4 11 2 builder Ljava/lang/StringBuilder;
6 10 3 i I
MethodParameters:
Name Flags
separator
array
public static java.util.Comparator<byte[]> 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.SignedBytes$LexicographicalComparator.INSTANCE:Lcom/google/common/primitives/SignedBytes$LexicographicalComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<[B>;
public static void sortDescending(byte[]);
descriptor: ([B)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.SignedBytes.sortDescending:([BII)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [B
MethodParameters:
Name Flags
array
public static void sortDescending(byte[], int, int);
descriptor: ([BII)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:([BII)V
3: aload 0
iload 1
iload 2
invokestatic com.google.common.primitives.Bytes.reverse:([BII)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 array [B
0 5 1 fromIndex I
0 5 2 toIndex I
MethodParameters:
Name Flags
array
fromIndex
toIndex
}
SourceFile: "SignedBytes.java"
NestMembers:
com.google.common.primitives.SignedBytes$LexicographicalComparator
InnerClasses:
private final LexicographicalComparator = com.google.common.primitives.SignedBytes$LexicographicalComparator of com.google.common.primitives.SignedBytes
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()