public final class org.eclipse.collections.impl.lazy.iterator.CollectIterator<T, V> implements java.util.Iterator<V>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.lazy.iterator.CollectIterator
super_class: java.lang.Object
{
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.function.Function<? super T, ? extends V> function;
descriptor: Lorg/eclipse/collections/api/block/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
public void <init>(java.lang.Iterable<T>, org.eclipse.collections.api.block.function.Function<? super T, ? extends V>);
descriptor: (Ljava/lang/Iterable;Lorg/eclipse/collections/api/block/function/Function;)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.CollectIterator.<init>:(Ljava/util/Iterator;Lorg/eclipse/collections/api/block/function/Function;)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/CollectIterator<TT;TV;>;
0 2 1 iterable Ljava/lang/Iterable<TT;>;
0 2 2 function Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
Signature: (Ljava/lang/Iterable<TT;>;Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;)V
MethodParameters:
Name Flags
iterable
function
public void <init>(java.util.Iterator<T>, org.eclipse.collections.api.block.function.Function<? super T, ? extends V>);
descriptor: (Ljava/util/Iterator;Lorg/eclipse/collections/api/block/function/Function;)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
aload 1
putfield org.eclipse.collections.impl.lazy.iterator.CollectIterator.iterator:Ljava/util/Iterator;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.lazy.iterator.CollectIterator.function:Lorg/eclipse/collections/api/block/function/Function;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/lazy/iterator/CollectIterator<TT;TV;>;
0 4 1 newIterator Ljava/util/Iterator<TT;>;
0 4 2 function Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
Signature: (Ljava/util/Iterator<TT;>;Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;)V
MethodParameters:
Name Flags
newIterator
function
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 collect 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/CollectIterator<TT;TV;>;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.lazy.iterator.CollectIterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/lazy/iterator/CollectIterator<TT;TV;>;
public V next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.collections.impl.lazy.iterator.CollectIterator.hasNext:()Z
ifeq 2
1: aload 0
getfield org.eclipse.collections.impl.lazy.iterator.CollectIterator.function:Lorg/eclipse/collections/api/block/function/Function;
aload 0
getfield org.eclipse.collections.impl.lazy.iterator.CollectIterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.block.function.Function.valueOf:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: 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 3 0 this Lorg/eclipse/collections/impl/lazy/iterator/CollectIterator<TT;TV;>;
Signature: ()TV;
}
Signature: <T:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TV;>;
SourceFile: "CollectIterator.java"