public final class com.google.common.collect.ImmutableSortedSet$Builder<E> extends com.google.common.collect.ImmutableSet$Builder<E>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ImmutableSortedSet$Builder
super_class: com.google.common.collect.ImmutableSet$Builder
{
private final java.util.Comparator<? super E> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<-TE;>;
private E[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: [TE;
private int n;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.Comparator<? super E>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
invokespecial com.google.common.collect.ImmutableSet$Builder.<init>:(Z)V
1: 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.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
2: aload 0
iconst_4
anewarray java.lang.Object
putfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
3: aload 0
iconst_0
putfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 5 1 comparator Ljava/util/Comparator<-TE;>;
Signature: (Ljava/util/Comparator<-TE;>;)V
MethodParameters:
Name Flags
comparator
void copy();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
arraylength
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
private void sortAndDedup();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iconst_0
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;IILjava/util/Comparator;)V
3: iconst_1
istore 1
start local 1 4: iconst_1
istore 2
start local 2 5: goto 15
6: StackMap locals: int int
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 1
iconst_1
isub
aaload
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 2
aaload
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 3
start local 3 7: iload 3
ifge 10
8: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 1
iinc 1 1
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 2
aaload
aastore
9: goto 14
StackMap locals: int
StackMap stack:
10: iload 3
ifle 14
11: new java.lang.AssertionError
dup
12: new java.lang.StringBuilder
dup
ldc "Comparator "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " compare method violates its contract"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
15: iload 2
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
if_icmplt 6
end local 2 16: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 1
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;IILjava/lang/Object;)V
17: aload 0
iload 1
putfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
4 19 1 unique I
5 16 2 i I
7 14 3 cmp I
public com.google.common.collect.ImmutableSortedSet$Builder<E> add(E);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.copyIfNecessary:()V
2: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
arraylength
if_icmpne 7
3: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.sortAndDedup:()V
4: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
iconst_1
iadd
invokestatic com.google.common.collect.ImmutableCollection$Builder.expandedCapacity:(II)I
istore 2
start local 2 5: iload 2
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
arraylength
if_icmple 7
6: aload 0
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 2
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
aload 0
dup
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
dup_x1
iconst_1
iadd
putfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
aload 1
aastore
8: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 9 1 element TE;
5 7 2 newLength I
Signature: (TE;)Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
element
public com.google.common.collect.ImmutableSortedSet$Builder<E> add(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.collect.ObjectArrays.checkElementsNotNull:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: com.google.common.collect.ImmutableSortedSet$Builder java.lang.Object[] top int int java.lang.Object[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 0
aload 2
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 7 1 elements [Ljava/lang/Object;
3 4 2 e TE;
Signature: ([TE;)Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableSortedSet$Builder<E> addAll(java.lang.Iterable<? extends E>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 2 1 elements Ljava/lang/Iterable<+TE;>;
Signature: (Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public com.google.common.collect.ImmutableSortedSet$Builder<E> addAll(java.util.Iterator<? extends E>);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.collect.ImmutableSet$Builder.addAll:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSet$Builder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 2 1 elements Ljava/util/Iterator<+TE;>;
Signature: (Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
com.google.common.collect.ImmutableSortedSet$Builder<E> combine(com.google.common.collect.ImmutableSet$Builder<E>);
descriptor: (Lcom/google/common/collect/ImmutableSet$Builder;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.copyIfNecessary:()V
1: aload 1
checkcast com.google.common.collect.ImmutableSortedSet$Builder
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: com.google.common.collect.ImmutableSortedSet$Builder int
StackMap stack:
aload 0
aload 2
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
iload 3
aaload
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
if_icmplt 4
end local 3 7: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
0 8 1 builder Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
2 8 2 other Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
3 7 3 i I
Signature: (Lcom/google/common/collect/ImmutableSet$Builder<TE;>;)Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
builder
public com.google.common.collect.ImmutableSortedSet<E> build();
descriptor: ()Lcom/google/common/collect/ImmutableSortedSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.sortAndDedup:()V
1: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
ifne 3
2: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
invokestatic com.google.common.collect.ImmutableSortedSet.emptySet:(Ljava/util/Comparator;)Lcom/google/common/collect/RegularImmutableSortedSet;
areturn
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.google.common.collect.ImmutableSortedSet$Builder.forceCopy:Z
4: new com.google.common.collect.RegularImmutableSortedSet
dup
5: aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.elements:[Ljava/lang/Object;
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.n:I
invokestatic com.google.common.collect.ImmutableList.asImmutableList:([Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableList;
aload 0
getfield com.google.common.collect.ImmutableSortedSet$Builder.comparator:Ljava/util/Comparator;
6: invokespecial com.google.common.collect.RegularImmutableSortedSet.<init>:(Lcom/google/common/collect/ImmutableList;Ljava/util/Comparator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/ImmutableSortedSet$Builder<TE;>;
Signature: ()Lcom/google/common/collect/ImmutableSortedSet<TE;>;
public com.google.common.collect.ImmutableSet build();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.build:()Lcom/google/common/collect/ImmutableSortedSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection build();
descriptor: ()Lcom/google/common/collect/ImmutableCollection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.build:()Lcom/google/common/collect/ImmutableSortedSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
com.google.common.collect.ImmutableSet$Builder combine(com.google.common.collect.ImmutableSet$Builder);
descriptor: (Lcom/google/common/collect/ImmutableSet$Builder;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast com.google.common.collect.ImmutableSet$Builder
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.combine:(Lcom/google/common/collect/ImmutableSet$Builder;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableSet$Builder addAll(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Iterator
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.addAll:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder addAll(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Iterator
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.addAll:(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableSet$Builder addAll(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Iterable
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder addAll(java.lang.Iterable);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Iterable
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableSet$Builder add(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x10c1) ACC_PUBLIC, ACC_BRIDGE, ACC_VARARGS, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object[]
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder add(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x10c1) ACC_PUBLIC, ACC_BRIDGE, ACC_VARARGS, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object[]
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableSet$Builder add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.ImmutableCollection$Builder add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Object
invokevirtual com.google.common.collect.ImmutableSortedSet$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableSet$Builder<TE;>;
SourceFile: "ImmutableSortedSet.java"
NestHost: com.google.common.collect.ImmutableSortedSet
InnerClasses:
public abstract Builder = com.google.common.collect.ImmutableCollection$Builder of com.google.common.collect.ImmutableCollection
public Builder = com.google.common.collect.ImmutableSet$Builder of com.google.common.collect.ImmutableSet
public final Builder = com.google.common.collect.ImmutableSortedSet$Builder of com.google.common.collect.ImmutableSortedSet