public final class org.eclipse.collections.impl.lazy.iterator.SelectIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.lazy.iterator.SelectIterator
super_class: java.lang.Object
{
private static final java.lang.Object NULL;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.Iterator<T> iterator;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TT;>;
private final org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate;
descriptor: Lorg/eclipse/collections/api/block/predicate/Predicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
private java.lang.Object next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.eclipse.collections.impl.lazy.iterator.SelectIterator.NULL:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Iterable<T>, org.eclipse.collections.api.block.predicate.Predicate<? super T>);
descriptor: (Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/predicate/Predicate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
aload 2
invokespecial org.eclipse.collections.impl.lazy.iterator.SelectIterator.<init>:(Ljava/util/Iterator;Lorg/eclipse/collections/api/block/predicate/Predicate;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/lazy/iterator/SelectIterator<TT;>;
0 2 1 iterable Ljava/lang/Iterable<TT;>;
0 2 2 predicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
Signature: (Ljava/lang/Iterable<TT;>;Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;)V
MethodParameters:
Name Flags
iterable
predicate
public void <init>(java.util.Iterator<T>, org.eclipse.collections.api.block.predicate.Predicate<? super T>);
descriptor: (Ljava/util/Iterator;Lorg/eclipse/collections/api/block/predicate/Predicate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.eclipse.collections.impl.lazy.iterator.SelectIterator.NULL:Ljava/lang/Object;
putfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
2: aload 0
aload 1
putfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.iterator:Ljava/util/Iterator;
3: aload 0
aload 2
putfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/lazy/iterator/SelectIterator<TT;>;
0 5 1 iterator Ljava/util/Iterator<TT;>;
0 5 2 predicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
Signature: (Ljava/util/Iterator<TT;>;Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;)V
MethodParameters:
Name Flags
iterator
predicate
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Cannot remove from a select iterator"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/lazy/iterator/SelectIterator<TT;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
getstatic org.eclipse.collections.impl.lazy.iterator.SelectIterator.NULL:Ljava/lang/Object;
if_acmpeq 6
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 1
start local 1 3: aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
aload 1
invokeinterface org.eclipse.collections.api.block.predicate.Predicate.accept:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 1
putfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
5: iconst_1
ireturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/collections/impl/lazy/iterator/SelectIterator<TT;>;
3 6 1 temp TT;
public T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
getstatic org.eclipse.collections.impl.lazy.iterator.SelectIterator.NULL:Ljava/lang/Object;
if_acmpne 1
aload 0
invokevirtual org.eclipse.collections.impl.lazy.iterator.SelectIterator.hasNext:()Z
ifeq 4
1: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
astore 1
start local 1 2: aload 0
getstatic org.eclipse.collections.impl.lazy.iterator.SelectIterator.NULL:Ljava/lang/Object;
putfield org.eclipse.collections.impl.lazy.iterator.SelectIterator.next:Ljava/lang/Object;
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/lazy/iterator/SelectIterator<TT;>;
2 4 1 temp Ljava/lang/Object;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "SelectIterator.java"