public final class com.google.common.primitives.Bytes
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.Bytes
super_class: java.lang.Object
{
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/Bytes;
public static int hashCode(byte);
descriptor: (B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value B
MethodParameters:
Name Flags
value
public static boolean contains(byte[], byte);
descriptor: ([BB)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: byte[] int top int int byte[]
StackMap stack:
1: aload 5
iload 3
baload
istore 2
start local 2 2: iload 2
iload 1
if_icmpne 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
0 7 1 target B
2 4 2 value B
MethodParameters:
Name Flags
array
target
public static int indexOf(byte[], byte);
descriptor: ([BB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Bytes.indexOf:([BBII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [B
0 1 1 target B
MethodParameters:
Name Flags
array
target
private static int indexOf(byte[], byte, int, int);
descriptor: ([BBII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
baload
iload 1
if_icmpne 4
3: iload 4
ireturn
4: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 3
if_icmplt 2
end local 4 6: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
0 7 1 target B
0 7 2 start I
0 7 3 end I
1 6 4 i I
MethodParameters:
Name Flags
array
target
start
end
public static int indexOf(byte[], byte[]);
descriptor: ([B[B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, 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
baload
aload 1
iload 3
baload
if_icmpeq 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 [B
0 16 1 target [B
5 15 2 i I
7 12 3 j I
MethodParameters:
Name Flags
array
target
public static int lastIndexOf(byte[], byte);
descriptor: ([BB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
iconst_0
aload 0
arraylength
invokestatic com.google.common.primitives.Bytes.lastIndexOf:([BBII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [B
0 1 1 target B
MethodParameters:
Name Flags
array
target
private static int lastIndexOf(byte[], byte, int, int);
descriptor: ([BBII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
iconst_1
isub
istore 4
start local 4 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
baload
iload 1
if_icmpne 4
3: iload 4
ireturn
4: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
5: iload 4
iload 2
if_icmpge 2
end local 4 6: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [B
0 7 1 target B
0 7 2 start I
0 7 3 end I
1 6 4 i I
MethodParameters:
Name Flags
array
target
start
end
public static byte[] concat(byte[][]);
descriptor: ([[B)[B
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: byte[][] int top int int byte[][]
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 8
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: byte[][] int byte[] int top int int byte[][]
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 [[B
1 15 1 length I
3 4 2 array [B
7 15 2 result [B
8 15 3 pos I
10 12 4 array [B
MethodParameters:
Name Flags
arrays
public static byte[] ensureCapacity(byte[], int, int);
descriptor: ([BII)[B
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:([BI)[B
goto 8
StackMap locals:
StackMap stack:
7: aload 0
StackMap locals:
StackMap stack: byte[]
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 array [B
0 9 1 minLength I
0 9 2 padding I
MethodParameters:
Name Flags
array
minLength
padding
public static byte[] toArray(java.util.Collection<? extends java.lang.Number>);
descriptor: (Ljava/util/Collection;)[B
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.Bytes$ByteArrayAsList
ifeq 2
1: aload 0
checkcast com.google.common.primitives.Bytes$ByteArrayAsList
invokevirtual com.google.common.primitives.Bytes$ByteArrayAsList.toByteArray:()[B
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 8
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 byte[] 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.byteValue:()B
bastore
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 [B
6 10 4 i I
Signature: (Ljava/util/Collection<+Ljava/lang/Number;>;)[B
MethodParameters:
Name Flags
collection
public static java.util.List<java.lang.Byte> asList(byte[]);
descriptor: ([B)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.Bytes$ByteArrayAsList
dup
aload 0
invokespecial com.google.common.primitives.Bytes$ByteArrayAsList.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 backingArray [B
Signature: ([B)Ljava/util/List<Ljava/lang/Byte;>;
MethodParameters:
Name Flags
backingArray
public static void reverse(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.Bytes.reverse:([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 reverse(byte[], int, int);
descriptor: ([BII)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, 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
baload
istore 5
start local 5 6: aload 0
iload 3
aload 0
iload 4
baload
bastore
7: aload 0
iload 4
iload 5
bastore
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 [B
0 11 1 fromIndex I
0 11 2 toIndex I
3 10 3 i I
4 10 4 j I
6 8 5 tmp B
MethodParameters:
Name Flags
array
fromIndex
toIndex
}
SourceFile: "Bytes.java"
NestMembers:
com.google.common.primitives.Bytes$ByteArrayAsList
InnerClasses:
private ByteArrayAsList = com.google.common.primitives.Bytes$ByteArrayAsList of com.google.common.primitives.Bytes
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()