public class com.google.common.collect.ImmutableRangeSet$Builder<C extends java.lang.Comparable<?>>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.common.collect.ImmutableRangeSet$Builder
super_class: java.lang.Object
{
private final java.util.List<com.google.common.collect.Range<C>> ranges;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/google/common/collect/Range<TC;>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.google.common.collect.Lists.newArrayList:()Ljava/util/ArrayList;
putfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
public com.google.common.collect.ImmutableRangeSet$Builder<C> add(com.google.common.collect.Range<C>);
descriptor: (Lcom/google/common/collect/Range;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.google.common.collect.Range.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ldc "range must not be empty, but was %s"
aload 1
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
3: aload 0
getfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
0 5 1 range Lcom/google/common/collect/Range<TC;>;
Signature: (Lcom/google/common/collect/Range<TC;>;)Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
range
public com.google.common.collect.ImmutableRangeSet$Builder<C> addAll(com.google.common.collect.RangeSet<C>);
descriptor: (Lcom/google/common/collect/RangeSet;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.google.common.collect.RangeSet.asRanges:()Ljava/util/Set;
invokevirtual com.google.common.collect.ImmutableRangeSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
0 1 1 ranges Lcom/google/common/collect/RangeSet<TC;>;
Signature: (Lcom/google/common/collect/RangeSet<TC;>;)Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
ranges
public com.google.common.collect.ImmutableRangeSet$Builder<C> addAll(java.lang.Iterable<com.google.common.collect.Range<C>>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.google.common.collect.ImmutableRangeSet$Builder java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
astore 2
start local 2 2: aload 0
aload 2
invokevirtual com.google.common.collect.ImmutableRangeSet$Builder.add:(Lcom/google/common/collect/Range;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
pop
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
0 5 1 ranges Ljava/lang/Iterable<Lcom/google/common/collect/Range<TC;>;>;
2 3 2 range Lcom/google/common/collect/Range<TC;>;
Signature: (Ljava/lang/Iterable<Lcom/google/common/collect/Range<TC;>;>;)Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
ranges
com.google.common.collect.ImmutableRangeSet$Builder<C> combine(com.google.common.collect.ImmutableRangeSet$Builder<C>);
descriptor: (Lcom/google/common/collect/ImmutableRangeSet$Builder;)Lcom/google/common/collect/ImmutableRangeSet$Builder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
invokevirtual com.google.common.collect.ImmutableRangeSet$Builder.addAll:(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableRangeSet$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/ImmutableRangeSet$Builder<TC;>;
0 2 1 builder Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
Signature: (Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;)Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
builder
public com.google.common.collect.ImmutableRangeSet<C> build();
descriptor: ()Lcom/google/common/collect/ImmutableRangeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: new com.google.common.collect.ImmutableList$Builder
dup
aload 0
getfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial com.google.common.collect.ImmutableList$Builder.<init>:(I)V
1: astore 1
start local 1 2: aload 0
getfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
invokestatic com.google.common.collect.Range.rangeLexOrdering:()Lcom/google/common/collect/Ordering;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
3: aload 0
getfield com.google.common.collect.ImmutableRangeSet$Builder.ranges:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Iterators.peekingIterator:(Ljava/util/Iterator;)Lcom/google/common/collect/PeekingIterator;
astore 2
start local 2 4: goto 17
5: StackMap locals: com.google.common.collect.ImmutableList$Builder com.google.common.collect.PeekingIterator
StackMap stack:
aload 2
invokeinterface com.google.common.collect.PeekingIterator.next:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
astore 3
start local 3 6: goto 15
7: StackMap locals: com.google.common.collect.Range
StackMap stack:
aload 2
invokeinterface com.google.common.collect.PeekingIterator.peek:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
astore 4
start local 4 8: aload 3
aload 4
invokevirtual com.google.common.collect.Range.isConnected:(Lcom/google/common/collect/Range;)Z
ifeq 16
9: aload 3
aload 4
invokevirtual com.google.common.collect.Range.intersection:(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range;
invokevirtual com.google.common.collect.Range.isEmpty:()Z
10: ldc "Overlapping ranges not permitted but found %s overlapping %s"
11: aload 3
12: aload 4
13: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
14: aload 3
aload 2
invokeinterface com.google.common.collect.PeekingIterator.next:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
invokevirtual com.google.common.collect.Range.span:(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range;
astore 3
end local 4 15: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 7
16: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
end local 3 17: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.google.common.collect.PeekingIterator.hasNext:()Z
ifne 5
18: aload 1
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
astore 3
start local 3 19: aload 3
invokevirtual com.google.common.collect.ImmutableList.isEmpty:()Z
ifeq 21
20: invokestatic com.google.common.collect.ImmutableRangeSet.of:()Lcom/google/common/collect/ImmutableRangeSet;
areturn
21: StackMap locals: com.google.common.collect.ImmutableList
StackMap stack:
aload 3
invokevirtual com.google.common.collect.ImmutableList.size:()I
iconst_1
if_icmpne 24
22: aload 3
invokestatic com.google.common.collect.Iterables.getOnlyElement:(Ljava/lang/Iterable;)Ljava/lang/Object;
checkcast com.google.common.collect.Range
invokestatic com.google.common.collect.Range.all:()Lcom/google/common/collect/Range;
invokevirtual com.google.common.collect.Range.equals:(Ljava/lang/Object;)Z
ifeq 24
23: invokestatic com.google.common.collect.ImmutableRangeSet.all:()Lcom/google/common/collect/ImmutableRangeSet;
areturn
24: StackMap locals:
StackMap stack:
new com.google.common.collect.ImmutableRangeSet
dup
aload 3
invokespecial com.google.common.collect.ImmutableRangeSet.<init>:(Lcom/google/common/collect/ImmutableList;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/google/common/collect/ImmutableRangeSet$Builder<TC;>;
2 25 1 mergedRangesBuilder Lcom/google/common/collect/ImmutableList$Builder<Lcom/google/common/collect/Range<TC;>;>;
4 25 2 peekingItr Lcom/google/common/collect/PeekingIterator<Lcom/google/common/collect/Range<TC;>;>;
6 17 3 range Lcom/google/common/collect/Range<TC;>;
8 15 4 nextRange Lcom/google/common/collect/Range<TC;>;
19 25 3 mergedRanges Lcom/google/common/collect/ImmutableList<Lcom/google/common/collect/Range<TC;>;>;
Signature: ()Lcom/google/common/collect/ImmutableRangeSet<TC;>;
}
Signature: <C::Ljava/lang/Comparable<*>;>Ljava/lang/Object;
SourceFile: "ImmutableRangeSet.java"
NestHost: com.google.common.collect.ImmutableRangeSet
InnerClasses:
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
public Builder = com.google.common.collect.ImmutableRangeSet$Builder of com.google.common.collect.ImmutableRangeSet