public final class com.google.common.collect.ImmutableRangeMap$Builder<K extends java.lang.Comparable<?>, V>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ImmutableRangeMap$Builder
super_class: java.lang.Object
{
private final java.util.List<java.util.Map$Entry<com.google.common.collect.Range<K>, V>> entries;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/Map$Entry<Lcom/google/common/collect/Range<TK;>;TV;>;>;
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.ImmutableRangeMap$Builder.entries:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
public com.google.common.collect.ImmutableRangeMap$Builder<K, V> put(com.google.common.collect.Range<K>, V);
descriptor: (Lcom/google/common/collect/Range;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableRangeMap$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokevirtual com.google.common.collect.Range.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: 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
5: aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
aload 1
aload 2
invokestatic com.google.common.collect.Maps.immutableEntry:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map$Entry;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
0 7 1 range Lcom/google/common/collect/Range<TK;>;
0 7 2 value TV;
Signature: (Lcom/google/common/collect/Range<TK;>;TV;)Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
range
value
public com.google.common.collect.ImmutableRangeMap$Builder<K, V> putAll(com.google.common.collect.RangeMap<K, ? extends V>);
descriptor: (Lcom/google/common/collect/RangeMap;)Lcom/google/common/collect/ImmutableRangeMap$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.google.common.collect.RangeMap.asMapOfRanges:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.google.common.collect.ImmutableRangeMap$Builder com.google.common.collect.RangeMap top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 2: aload 0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual com.google.common.collect.ImmutableRangeMap$Builder.put:(Lcom/google/common/collect/Range;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableRangeMap$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/ImmutableRangeMap$Builder<TK;TV;>;
0 5 1 rangeMap Lcom/google/common/collect/RangeMap<TK;+TV;>;
2 3 2 entry Ljava/util/Map$Entry<Lcom/google/common/collect/Range<TK;>;+TV;>;
Signature: (Lcom/google/common/collect/RangeMap<TK;+TV;>;)Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
rangeMap
com.google.common.collect.ImmutableRangeMap$Builder<K, V> combine(com.google.common.collect.ImmutableRangeMap$Builder<K, V>);
descriptor: (Lcom/google/common/collect/ImmutableRangeMap$Builder;)Lcom/google/common/collect/ImmutableRangeMap$Builder;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
aload 1
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
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/ImmutableRangeMap$Builder<TK;TV;>;
0 2 1 builder Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
Signature: (Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;)Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
builder
public com.google.common.collect.ImmutableRangeMap<K, V> build();
descriptor: ()Lcom/google/common/collect/ImmutableRangeMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
invokestatic com.google.common.collect.Range.rangeLexOrdering:()Lcom/google/common/collect/Ordering;
invokevirtual com.google.common.collect.Ordering.onKeys:()Lcom/google/common/collect/Ordering;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
1: new com.google.common.collect.ImmutableList$Builder
dup
aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial com.google.common.collect.ImmutableList$Builder.<init>:(I)V
astore 1
start local 1 2: new com.google.common.collect.ImmutableList$Builder
dup
aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial com.google.common.collect.ImmutableList$Builder.<init>:(I)V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 15
5: StackMap locals: com.google.common.collect.ImmutableList$Builder com.google.common.collect.ImmutableList$Builder int
StackMap stack:
aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
astore 4
start local 4 6: iload 3
ifle 12
7: aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
iload 3
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast com.google.common.collect.Range
astore 5
start local 5 8: aload 4
aload 5
invokevirtual com.google.common.collect.Range.isConnected:(Lcom/google/common/collect/Range;)Z
ifeq 12
aload 4
aload 5
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
ifne 12
9: new java.lang.IllegalArgumentException
dup
10: new java.lang.StringBuilder
dup
ldc "Overlapping ranges: range "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " overlaps with entry "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 5 12: StackMap locals: com.google.common.collect.Range
StackMap stack:
aload 1
aload 4
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
13: aload 2
aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Map$Entry
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
end local 4 14: iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 0
getfield com.google.common.collect.ImmutableRangeMap$Builder.entries:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 3 16: new com.google.common.collect.ImmutableRangeMap
dup
aload 1
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
aload 2
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
invokespecial com.google.common.collect.ImmutableRangeMap.<init>:(Lcom/google/common/collect/ImmutableList;Lcom/google/common/collect/ImmutableList;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/google/common/collect/ImmutableRangeMap$Builder<TK;TV;>;
2 17 1 rangesBuilder Lcom/google/common/collect/ImmutableList$Builder<Lcom/google/common/collect/Range<TK;>;>;
3 17 2 valuesBuilder Lcom/google/common/collect/ImmutableList$Builder<TV;>;
4 16 3 i I
6 14 4 range Lcom/google/common/collect/Range<TK;>;
8 12 5 prevRange Lcom/google/common/collect/Range<TK;>;
Signature: ()Lcom/google/common/collect/ImmutableRangeMap<TK;TV;>;
}
Signature: <K::Ljava/lang/Comparable<*>;V:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ImmutableRangeMap.java"
NestHost: com.google.common.collect.ImmutableRangeMap
InnerClasses:
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
public final Builder = com.google.common.collect.ImmutableRangeMap$Builder of com.google.common.collect.ImmutableRangeMap
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
com.google.errorprone.annotations.DoNotMock()