final class com.google.common.collect.Multisets$FilteredMultiset<E> extends com.google.common.collect.Multisets$ViewMultiset<E>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Multisets$FilteredMultiset
super_class: com.google.common.collect.Multisets$ViewMultiset
{
final com.google.common.collect.Multiset<E> unfiltered;
descriptor: Lcom/google/common/collect/Multiset;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/collect/Multiset<TE;>;
final com.google.common.base.Predicate<? super E> predicate;
descriptor: Lcom/google/common/base/Predicate;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/base/Predicate<-TE;>;
void <init>(com.google.common.collect.Multiset<E>, com.google.common.base.Predicate<? super E>);
descriptor: (Lcom/google/common/collect/Multiset;Lcom/google/common/base/Predicate;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.collect.Multisets$ViewMultiset.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.Multiset
putfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
2: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.base.Predicate
putfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
0 4 1 unfiltered Lcom/google/common/collect/Multiset<TE;>;
0 4 2 predicate Lcom/google/common/base/Predicate<-TE;>;
Signature: (Lcom/google/common/collect/Multiset<TE;>;Lcom/google/common/base/Predicate<-TE;>;)V
MethodParameters:
Name Flags
unfiltered
predicate
public com.google.common.collect.UnmodifiableIterator<E> iterator();
descriptor: ()Lcom/google/common/collect/UnmodifiableIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
invokeinterface com.google.common.collect.Multiset.iterator:()Ljava/util/Iterator;
aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterators.filter:(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/UnmodifiableIterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
Signature: ()Lcom/google/common/collect/UnmodifiableIterator<TE;>;
java.util.Set<E> createElementSet();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
invokeinterface com.google.common.collect.Multiset.elementSet:()Ljava/util/Set;
aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Sets.filter:(Ljava/util/Set;Lcom/google/common/base/Predicate;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
Signature: ()Ljava/util/Set<TE;>;
java.util.Iterator<E> elementIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.AssertionError
dup
ldc "should never be called"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
java.util.Set<com.google.common.collect.Multiset$Entry<E>> createEntrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
invokeinterface com.google.common.collect.Multiset.entrySet:()Ljava/util/Set;
1: new com.google.common.collect.Multisets$FilteredMultiset$1
dup
aload 0
invokespecial com.google.common.collect.Multisets$FilteredMultiset$1.<init>:(Lcom/google/common/collect/Multisets$FilteredMultiset;)V
2: invokestatic com.google.common.collect.Sets.filter:(Ljava/util/Set;Lcom/google/common/base/Predicate;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
Signature: ()Ljava/util/Set<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
java.util.Iterator<com.google.common.collect.Multiset$Entry<E>> entryIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.AssertionError
dup
ldc "should never be called"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
Signature: ()Ljava/util/Iterator<Lcom/google/common/collect/Multiset$Entry<TE;>;>;
public int count(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
aload 1
invokeinterface com.google.common.collect.Multiset.count:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
ifle 6
2: aload 1
astore 3
start local 3 3: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
aload 3
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ifeq 4
iload 2
goto 5
StackMap locals: int java.lang.Object
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ireturn
end local 3 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
0 7 1 element Ljava/lang/Object;
1 7 2 count I
3 6 3 e TE;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
element
public int add(E, );
descriptor: (Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
aload 1
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ldc "Element %s does not match predicate %s"
aload 1
aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.predicate:Lcom/google/common/base/Predicate;
1: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
aload 1
iload 2
invokeinterface com.google.common.collect.Multiset.add:(Ljava/lang/Object;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
0 3 1 element TE;
0 3 2 occurrences I
Signature: (TE;I)I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
element
occurrences
public int remove(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ldc "occurrences"
invokestatic com.google.common.collect.CollectPreconditions.checkNonnegative:(ILjava/lang/String;)I
pop
1: iload 2
ifne 3
2: aload 0
aload 1
invokevirtual com.google.common.collect.Multisets$FilteredMultiset.count:(Ljava/lang/Object;)I
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.google.common.collect.Multisets$FilteredMultiset.contains:(Ljava/lang/Object;)Z
ifeq 4
aload 0
getfield com.google.common.collect.Multisets$FilteredMultiset.unfiltered:Lcom/google/common/collect/Multiset;
aload 1
iload 2
invokeinterface com.google.common.collect.Multiset.remove:(Ljava/lang/Object;I)I
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/Multisets$FilteredMultiset<TE;>;
0 6 1 element Ljava/lang/Object;
0 6 2 occurrences I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
element
occurrences
public java.util.Iterator iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.Multisets$FilteredMultiset.iterator:()Lcom/google/common/collect/UnmodifiableIterator;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/Multisets$ViewMultiset<TE;>;
SourceFile: "Multisets.java"
NestHost: com.google.common.collect.Multisets
InnerClasses:
public abstract Entry = com.google.common.collect.Multiset$Entry of com.google.common.collect.Multiset
private final FilteredMultiset = com.google.common.collect.Multisets$FilteredMultiset of com.google.common.collect.Multisets
com.google.common.collect.Multisets$FilteredMultiset$1
private abstract ViewMultiset = com.google.common.collect.Multisets$ViewMultiset of com.google.common.collect.Multisets