public final class com.google.common.primitives.Booleans
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.Booleans
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/Booleans;
public static java.util.Comparator<java.lang.Boolean> trueFirst();
descriptor: ()Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Booleans$BooleanComparator.TRUE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<Ljava/lang/Boolean;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
public static java.util.Comparator<java.lang.Boolean> falseFirst();
descriptor: ()Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Booleans$BooleanComparator.FALSE_FIRST:Lcom/google/common/primitives/Booleans$BooleanComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<Ljava/lang/Boolean;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
public static int hashCode(boolean);
descriptor: (Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 1
sipush 1231
goto 2
StackMap locals:
StackMap stack:
1: sipush 1237
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Z
MethodParameters:
Name Flags
value
public static int compare(boolean, boolean);
descriptor: (ZZ)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
if_icmpne 1
iconst_0
goto 3
StackMap locals:
StackMap stack:
1: iload 0
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_m1
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 a Z
0 4 1 b Z
MethodParameters:
Name Flags
a
b
public static boolean contains(boolean[], boolean);
descriptor: ([ZZ)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: boolean[] int top int int boolean[]
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 [Z
0 7 1 target Z
2 4 2 value Z
MethodParameters:
Name Flags
array
target
public static int indexOf(boolean[], boolean);
descriptor: ([ZZ)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.Booleans.indexOf:([ZZII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Z
0 1 1 target Z
MethodParameters:
Name Flags
array
target
private static int indexOf(boolean[], boolean, int, int);
descriptor: ([ZZII)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 [Z
0 7 1 target Z
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(boolean[], boolean[]);
descriptor: ([Z[Z)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 [Z
0 16 1 target [Z
5 15 2 i I
7 12 3 j I
MethodParameters:
Name Flags
array
target
public static int lastIndexOf(boolean[], boolean);
descriptor: ([ZZ)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.Booleans.lastIndexOf:([ZZII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Z
0 1 1 target Z
MethodParameters:
Name Flags
array
target
private static int lastIndexOf(boolean[], boolean, int, int);
descriptor: ([ZZII)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 [Z
0 7 1 target Z
0 7 2 start I
0 7 3 end I
1 6 4 i I
MethodParameters:
Name Flags
array
target
start
end
public static boolean[] concat(boolean[][]);
descriptor: ([[Z)[Z
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: boolean[][] int top int int boolean[][]
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 4
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: boolean[][] int boolean[] int top int int boolean[][]
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 [[Z
1 15 1 length I
3 4 2 array [Z
7 15 2 result [Z
8 15 3 pos I
10 12 4 array [Z
MethodParameters:
Name Flags
arrays
public static boolean[] ensureCapacity(boolean[], int, int);
descriptor: ([ZII)[Z
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:([ZI)[Z
goto 8
StackMap locals:
StackMap stack:
7: aload 0
StackMap locals:
StackMap stack: boolean[]
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 array [Z
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, boolean[]);
descriptor: (Ljava/lang/String;[Z)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 7
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:(Z)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:(Z)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 [Z
4 11 2 builder Ljava/lang/StringBuilder;
6 10 3 i I
MethodParameters:
Name Flags
separator
array
public static java.util.Comparator<boolean[]> 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.Booleans$LexicographicalComparator.INSTANCE:Lcom/google/common/primitives/Booleans$LexicographicalComparator;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Comparator<[Z>;
public static boolean[] toArray(java.util.Collection<java.lang.Boolean>);
descriptor: (Ljava/util/Collection;)[Z
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.Booleans$BooleanArrayAsList
ifeq 2
1: aload 0
checkcast com.google.common.primitives.Booleans$BooleanArrayAsList
invokevirtual com.google.common.primitives.Booleans$BooleanArrayAsList.toBooleanArray:()[Z
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 4
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 boolean[] 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.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
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/Boolean;>;
3 11 1 boxedArray [Ljava/lang/Object;
4 11 2 len I
5 11 3 array [Z
6 10 4 i I
Signature: (Ljava/util/Collection<Ljava/lang/Boolean;>;)[Z
MethodParameters:
Name Flags
collection
public static java.util.List<java.lang.Boolean> asList(boolean[]);
descriptor: ([Z)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.Booleans$BooleanArrayAsList
dup
aload 0
invokespecial com.google.common.primitives.Booleans$BooleanArrayAsList.<init>:([Z)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 backingArray [Z
Signature: ([Z)Ljava/util/List<Ljava/lang/Boolean;>;
MethodParameters:
Name Flags
backingArray
public static int countTrue(boolean[]);
descriptor: ([Z)I
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=6, 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 6
StackMap locals: boolean[] int top int int boolean[]
StackMap stack:
2: aload 5
iload 3
baload
istore 2
start local 2 3: iload 2
ifeq 5
4: iinc 1 1
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 values [Z
1 8 1 count I
3 5 2 value Z
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
MethodParameters:
Name Flags
values
public static void reverse(boolean[]);
descriptor: ([Z)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.Booleans.reverse:([ZII)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Z
MethodParameters:
Name Flags
array
public static void reverse(boolean[], int, int);
descriptor: ([ZII)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 [Z
0 11 1 fromIndex I
0 11 2 toIndex I
3 10 3 i I
4 10 4 j I
6 8 5 tmp Z
MethodParameters:
Name Flags
array
fromIndex
toIndex
}
SourceFile: "Booleans.java"
NestMembers:
com.google.common.primitives.Booleans$BooleanArrayAsList com.google.common.primitives.Booleans$BooleanComparator com.google.common.primitives.Booleans$LexicographicalComparator
InnerClasses:
private BooleanArrayAsList = com.google.common.primitives.Booleans$BooleanArrayAsList of com.google.common.primitives.Booleans
private final BooleanComparator = com.google.common.primitives.Booleans$BooleanComparator of com.google.common.primitives.Booleans
private final LexicographicalComparator = com.google.common.primitives.Booleans$LexicographicalComparator of com.google.common.primitives.Booleans
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()