class com.google.common.collect.Collections2$FilteredCollection<E> extends java.util.AbstractCollection<E>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.Collections2$FilteredCollection
super_class: java.util.AbstractCollection
{
final java.util.Collection<E> unfiltered;
descriptor: Ljava/util/Collection;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Collection<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>(java.util.Collection<E>, com.google.common.base.Predicate<? super E>);
descriptor: (Ljava/util/Collection;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 java.util.AbstractCollection.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
2: aload 0
aload 2
putfield com.google.common.collect.Collections2$FilteredCollection.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/Collections2$FilteredCollection<TE;>;
0 4 1 unfiltered Ljava/util/Collection<TE;>;
0 4 2 predicate Lcom/google/common/base/Predicate<-TE;>;
Signature: (Ljava/util/Collection<TE;>;Lcom/google/common/base/Predicate<-TE;>;)V
MethodParameters:
Name Flags
unfiltered
predicate
com.google.common.collect.Collections2$FilteredCollection<E> createCombined(com.google.common.base.Predicate<? super E>);
descriptor: (Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Collections2$FilteredCollection;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.collect.Collections2$FilteredCollection
dup
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 1
invokestatic com.google.common.base.Predicates.and:(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate;
invokespecial com.google.common.collect.Collections2$FilteredCollection.<init>:(Ljava/util/Collection;Lcom/google/common/base/Predicate;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 1 1 newPredicate Lcom/google/common/base/Predicate<-TE;>;
Signature: (Lcom/google/common/base/Predicate<-TE;>;)Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
MethodParameters:
Name Flags
newPredicate
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 1
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
1: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 2 1 element TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
element
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: com.google.common.collect.Collections2$FilteredCollection java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 2: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 2
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 5 1 collection Ljava/util/Collection<+TE;>;
2 3 2 element TE;
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
collection
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.removeIf:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 1
invokestatic com.google.common.collect.Collections2.safeContains:(Ljava/util/Collection;Ljava/lang/Object;)Z
ifeq 3
1: aload 1
astore 2
start local 2 2: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 2
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 4 1 element Ljava/lang/Object;
2 3 2 e TE;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
element
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.Collections2.containsAllImpl:(Ljava/util/Collection;Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 1 1 collection Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
collection
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.Iterables.any:(Ljava/lang/Iterable;Lcom/google/common/base/Predicate;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.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/Collections2$FilteredCollection<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
invokeinterface java.util.Collection.spliterator:()Ljava/util/Spliterator;
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
invokestatic com.google.common.collect.CollectSpliterators.filter:(Ljava/util/Spliterator;Ljava/util/function/Predicate;)Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
2: aload 0
aload 1
invokedynamic accept(Lcom/google/common/collect/Collections2$FilteredCollection;Ljava/util/function/Consumer;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/google/common/collect/Collections2$FilteredCollection.lambda$0(Ljava/util/function/Consumer;Ljava/lang/Object;)V (7)
(Ljava/lang/Object;)V
3: invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 5 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.google.common.collect.Collections2$FilteredCollection.contains:(Ljava/lang/Object;)Z
ifeq 1
aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.remove:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 2 1 element Ljava/lang/Object;
MethodParameters:
Name Flags
element
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/util/Collection;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/util/Collection.contains(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/Object;)Z
invokevirtual com.google.common.collect.Collections2$FilteredCollection.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 1 1 collection Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
collection final
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic test(Ljava/util/Collection;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/google/common/collect/Collections2$FilteredCollection.lambda$2(Ljava/util/Collection;Ljava/lang/Object;)Z (6)
(Ljava/lang/Object;)Z
invokevirtual com.google.common.collect.Collections2$FilteredCollection.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 1 1 collection Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
collection final
public boolean removeIf(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, 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
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
aload 0
aload 1
invokedynamic test(Lcom/google/common/collect/Collections2$FilteredCollection;Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/google/common/collect/Collections2$FilteredCollection.lambda$3(Ljava/util/function/Predicate;Ljava/lang/Object;)Z (7)
(Ljava/lang/Object;)Z
invokeinterface java.util.Collection.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 2 1 filter Ljava/util/function/Predicate<-TE;>;
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.unfiltered:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.google.common.collect.Collections2$FilteredCollection int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 3: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 2
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ifeq 5
4: iinc 1 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
1 7 1 size I
3 5 2 e TE;
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.Collections2$FilteredCollection.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.toArray:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.Collections2$FilteredCollection.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 1 1 array [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
array
private void lambda$0(java.util.function.Consumer, java.lang.Object);
descriptor: (Ljava/util/function/Consumer;Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 2
invokeinterface com.google.common.base.Predicate.test:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 3 2 e TE;
private static boolean lambda$2(java.util.Collection, java.lang.Object);
descriptor: (Ljava/util/Collection;Ljava/lang/Object;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 element TE;
private boolean lambda$3(java.util.function.Predicate, java.lang.Object);
descriptor: (Ljava/util/function/Predicate;Ljava/lang/Object;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
getfield com.google.common.collect.Collections2$FilteredCollection.predicate:Lcom/google/common/base/Predicate;
aload 2
invokeinterface com.google.common.base.Predicate.apply:(Ljava/lang/Object;)Z
ifeq 1
aload 1
aload 2
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Collections2$FilteredCollection<TE;>;
0 3 2 element TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractCollection<TE;>;
SourceFile: "Collections2.java"
NestHost: com.google.common.collect.Collections2
InnerClasses:
FilteredCollection = com.google.common.collect.Collections2$FilteredCollection of com.google.common.collect.Collections2
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles