final class com.google.common.collect.JdkBackedImmutableMultiset<E> extends com.google.common.collect.ImmutableMultiset<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.JdkBackedImmutableMultiset
super_class: com.google.common.collect.ImmutableMultiset
{
private final java.util.Map<E, java.lang.Integer> delegateMap;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<TE;Ljava/lang/Integer;>;
private final com.google.common.collect.ImmutableList<com.google.common.collect.Multiset$Entry<E>> entries;
descriptor: Lcom/google/common/collect/ImmutableList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableList<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
private final long size;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient com.google.common.collect.ImmutableSet<E> elementSet;
descriptor: Lcom/google/common/collect/ImmutableSet;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Lcom/google/common/collect/ImmutableSet<TE;>;
static <E> com.google.common.collect.ImmutableMultiset<E> create(java.util.Collection<? extends com.google.common.collect.Multiset$Entry<? extends E>>);
descriptor: (Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMultiset;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
iconst_0
anewarray com.google.common.collect.Multiset$Entry
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.google.common.collect.Multiset$Entry[]
astore 1
start local 1 1: aload 1
arraylength
invokestatic com.google.common.collect.Maps.newHashMapWithExpectedSize:(I)Ljava/util/HashMap;
astore 2
start local 2 2: lconst_0
lstore 3
start local 3 3: iconst_0
istore 5
start local 5 4: goto 13
5: StackMap locals: java.util.Collection com.google.common.collect.Multiset$Entry[] java.util.Map long int
StackMap stack:
aload 1
iload 5
aaload
astore 6
start local 6 6: aload 6
invokeinterface com.google.common.collect.Multiset$Entry.getCount:()I
istore 7
start local 7 7: lload 3
iload 7
i2l
ladd
lstore 3
8: aload 6
invokeinterface com.google.common.collect.Multiset$Entry.getElement:()Ljava/lang/Object;
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 8
start local 8 9: aload 2
aload 8
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 6
instanceof com.google.common.collect.Multisets$ImmutableEntry
ifne 12
11: aload 1
iload 5
aload 8
iload 7
invokestatic com.google.common.collect.Multisets.immutableEntry:(Ljava/lang/Object;I)Lcom/google/common/collect/Multiset$Entry;
aastore
end local 8 end local 7 end local 6 12: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
aload 1
arraylength
if_icmplt 5
end local 5 14: new com.google.common.collect.JdkBackedImmutableMultiset
dup
15: aload 2
aload 1
invokestatic com.google.common.collect.ImmutableList.asImmutableList:([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList;
lload 3
16: invokespecial com.google.common.collect.JdkBackedImmutableMultiset.<init>:(Ljava/util/Map;Lcom/google/common/collect/ImmutableList;J)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 entries Ljava/util/Collection<+Lcom/google/common/collect/Multiset$Entry<+TE;>;>;
1 17 1 entriesArray [Lcom/google/common/collect/Multiset$Entry;
2 17 2 delegateMap Ljava/util/Map<TE;Ljava/lang/Integer;>;
3 17 3 size J
4 14 5 i I
6 12 6 entry Lcom/google/common/collect/Multiset$Entry<TE;>;
7 12 7 count I
9 12 8 element TE;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<+Lcom/google/common/collect/Multiset$Entry<+TE;>;>;)Lcom/google/common/collect/ImmutableMultiset<TE;>;
MethodParameters:
Name Flags
entries
private void <init>(java.util.Map<E, java.lang.Integer>, com.google.common.collect.ImmutableList<com.google.common.collect.Multiset$Entry<E>>, );
descriptor: (Ljava/util/Map;Lcom/google/common/collect/ImmutableList;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.google.common.collect.ImmutableMultiset.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.JdkBackedImmutableMultiset.delegateMap:Ljava/util/Map;
2: aload 0
aload 2
putfield com.google.common.collect.JdkBackedImmutableMultiset.entries:Lcom/google/common/collect/ImmutableList;
3: aload 0
lload 3
putfield com.google.common.collect.JdkBackedImmutableMultiset.size:J
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
0 5 1 delegateMap Ljava/util/Map<TE;Ljava/lang/Integer;>;
0 5 2 entries Lcom/google/common/collect/ImmutableList<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
0 5 3 size J
Signature: (Ljava/util/Map<TE;Ljava/lang/Integer;>;Lcom/google/common/collect/ImmutableList<Lcom/google/common/collect/Multiset$Entry<TE;>;>;J)V
MethodParameters:
Name Flags
delegateMap
entries
size
public int count(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.JdkBackedImmutableMultiset.delegateMap:Ljava/util/Map;
aload 1
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
0 1 1 element Ljava/lang/Object;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
element
public com.google.common.collect.ImmutableSet<E> elementSet();
descriptor: ()Lcom/google/common/collect/ImmutableSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.JdkBackedImmutableMultiset.elementSet:Lcom/google/common/collect/ImmutableSet;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
new com.google.common.collect.ImmutableMultiset$ElementSet
dup
aload 0
getfield com.google.common.collect.JdkBackedImmutableMultiset.entries:Lcom/google/common/collect/ImmutableList;
aload 0
invokespecial com.google.common.collect.ImmutableMultiset$ElementSet.<init>:(Ljava/util/List;Lcom/google/common/collect/Multiset;)V
dup_x1
putfield com.google.common.collect.JdkBackedImmutableMultiset.elementSet:Lcom/google/common/collect/ImmutableSet;
goto 3
StackMap locals: com.google.common.collect.ImmutableSet
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: com.google.common.collect.ImmutableSet
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
1 4 1 result Lcom/google/common/collect/ImmutableSet<TE;>;
Signature: ()Lcom/google/common/collect/ImmutableSet<TE;>;
com.google.common.collect.Multiset$Entry<E> getEntry(int);
descriptor: (I)Lcom/google/common/collect/Multiset$Entry;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.JdkBackedImmutableMultiset.entries:Lcom/google/common/collect/ImmutableList;
iload 1
invokevirtual com.google.common.collect.ImmutableList.get:(I)Ljava/lang/Object;
checkcast com.google.common.collect.Multiset$Entry
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
0 1 1 index I
Signature: (I)Lcom/google/common/collect/Multiset$Entry<TE;>;
MethodParameters:
Name Flags
index
boolean isPartialView();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.JdkBackedImmutableMultiset.size:J
invokestatic com.google.common.primitives.Ints.saturatedCast:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/JdkBackedImmutableMultiset<TE;>;
public java.util.Set elementSet();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.JdkBackedImmutableMultiset.elementSet:()Lcom/google/common/collect/ImmutableSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/ImmutableMultiset<TE;>;
SourceFile: "JdkBackedImmutableMultiset.java"
InnerClasses:
final ElementSet = com.google.common.collect.ImmutableMultiset$ElementSet of com.google.common.collect.ImmutableMultiset
public abstract Entry = com.google.common.collect.Multiset$Entry of com.google.common.collect.Multiset
ImmutableEntry = com.google.common.collect.Multisets$ImmutableEntry of com.google.common.collect.Multisets
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()