public final class com.google.common.collect.MinMaxPriorityQueue$Builder<B>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.MinMaxPriorityQueue$Builder
super_class: java.lang.Object
{
private static final int UNSET_EXPECTED_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private final java.util.Comparator<B> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<TB;>;
private int expectedSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maximumSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(java.util.Comparator<B>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.google.common.collect.MinMaxPriorityQueue$Builder.expectedSize:I
2: aload 0
ldc 2147483647
putfield com.google.common.collect.MinMaxPriorityQueue$Builder.maximumSize:I
3: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Comparator
putfield com.google.common.collect.MinMaxPriorityQueue$Builder.comparator:Ljava/util/Comparator;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
0 5 1 comparator Ljava/util/Comparator<TB;>;
Signature: (Ljava/util/Comparator<TB;>;)V
MethodParameters:
Name Flags
comparator
public com.google.common.collect.MinMaxPriorityQueue$Builder<B> expectedSize(int);
descriptor: (I)Lcom/google/common/collect/MinMaxPriorityQueue$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 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
iload 1
putfield com.google.common.collect.MinMaxPriorityQueue$Builder.expectedSize:I
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
0 5 1 expectedSize I
Signature: (I)Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
expectedSize
public com.google.common.collect.MinMaxPriorityQueue$Builder<B> maximumSize(int);
descriptor: (I)Lcom/google/common/collect/MinMaxPriorityQueue$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
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
iload 1
putfield com.google.common.collect.MinMaxPriorityQueue$Builder.maximumSize:I
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
0 5 1 maximumSize I
Signature: (I)Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
maximumSize
public <T extends B> com.google.common.collect.MinMaxPriorityQueue<T> create();
descriptor: ()Lcom/google/common/collect/MinMaxPriorityQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokevirtual com.google.common.collect.MinMaxPriorityQueue$Builder.create:(Ljava/lang/Iterable;)Lcom/google/common/collect/MinMaxPriorityQueue;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
Signature: <T:TB;>()Lcom/google/common/collect/MinMaxPriorityQueue<TT;>;
public <T extends B> com.google.common.collect.MinMaxPriorityQueue<T> create(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/MinMaxPriorityQueue;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: new com.google.common.collect.MinMaxPriorityQueue
dup
1: aload 0
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$Builder.expectedSize:I
aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$Builder.maximumSize:I
aload 1
invokestatic com.google.common.collect.MinMaxPriorityQueue.initialQueueSize:(IILjava/lang/Iterable;)I
2: invokespecial com.google.common.collect.MinMaxPriorityQueue.<init>:(Lcom/google/common/collect/MinMaxPriorityQueue$Builder;I)V
3: astore 2
start local 2 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.google.common.collect.MinMaxPriorityQueue$Builder java.lang.Iterable com.google.common.collect.MinMaxPriorityQueue top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 3
start local 3 6: aload 2
aload 3
invokevirtual com.google.common.collect.MinMaxPriorityQueue.offer:(Ljava/lang/Object;)Z
pop
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
0 9 1 initialContents Ljava/lang/Iterable<+TT;>;
4 9 2 queue Lcom/google/common/collect/MinMaxPriorityQueue<TT;>;
6 7 3 element TT;
Signature: <T:TB;>(Ljava/lang/Iterable<+TT;>;)Lcom/google/common/collect/MinMaxPriorityQueue<TT;>;
MethodParameters:
Name Flags
initialContents
private <T extends B> com.google.common.collect.Ordering<T> ordering();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MinMaxPriorityQueue$Builder.comparator:Ljava/util/Comparator;
invokestatic com.google.common.collect.Ordering.from:(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MinMaxPriorityQueue$Builder<TB;>;
Signature: <T:TB;>()Lcom/google/common/collect/Ordering<TT;>;
}
Signature: <B:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "MinMaxPriorityQueue.java"
NestHost: com.google.common.collect.MinMaxPriorityQueue
InnerClasses:
public final Builder = com.google.common.collect.MinMaxPriorityQueue$Builder of com.google.common.collect.MinMaxPriorityQueue
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()