public class org.eclipse.collections.impl.lazy.TakeIterable<T> extends org.eclipse.collections.impl.lazy.AbstractLazyIterable<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.lazy.TakeIterable
super_class: org.eclipse.collections.impl.lazy.AbstractLazyIterable
{
private final java.lang.Iterable<T> adapted;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<TT;>;
private final int count;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.Iterable<T>, );
descriptor: (Ljava/lang/Iterable;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.eclipse.collections.impl.lazy.AbstractLazyIterable.<init>:()V
1: iload 2
ifge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Count must be greater than zero, but was: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.eclipse.collections.impl.lazy.TakeIterable java.lang.Iterable int
StackMap stack:
aload 0
aload 1
putfield org.eclipse.collections.impl.lazy.TakeIterable.adapted:Ljava/lang/Iterable;
4: aload 0
iload 2
putfield org.eclipse.collections.impl.lazy.TakeIterable.count:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
0 6 1 newAdapted Ljava/lang/Iterable<TT;>;
0 6 2 count I
Signature: (Ljava/lang/Iterable<TT;>;I)V
MethodParameters:
Name Flags
newAdapted
count
public void each(org.eclipse.collections.api.block.procedure.Procedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.adapted:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 5
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.block.procedure.Procedure.value:(Ljava/lang/Object;)V
4: iinc 2 1
5: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.count:I
if_icmpge 6
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
0 7 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
1 7 2 i I
2 7 3 iterator Ljava/util/Iterator<TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;)V
MethodParameters:
Name Flags
procedure
public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.adapted:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 5
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
iload 2
invokeinterface org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure.value:(Ljava/lang/Object;I)V
4: iinc 2 1
5: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.count:I
if_icmpge 6
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
0 7 1 procedure Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure<-TT;>;
1 7 2 i I
2 7 3 iterator Ljava/util/Iterator<TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure<-TT;>;)V
MethodParameters:
Name Flags
procedure
public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T, ? super P>, );
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure2;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.adapted:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
start local 4 2: goto 5
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 1
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aload 2
invokeinterface org.eclipse.collections.api.block.procedure.Procedure2.value:(Ljava/lang/Object;Ljava/lang/Object;)V
4: iinc 3 1
5: StackMap locals:
StackMap stack:
iload 3
aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.count:I
if_icmpge 6
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
0 7 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure2<-TT;-TP;>;
0 7 2 parameter TP;
1 7 3 i I
2 7 4 iterator Ljava/util/Iterator<TT;>;
Signature: <P:Ljava/lang/Object;>(Lorg/eclipse/collections/api/block/procedure/Procedure2<-TT;-TP;>;TP;)V
MethodParameters:
Name Flags
procedure
parameter
public java.lang.Object[] toArray();
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.TakeIterable.count:I
anewarray java.lang.Object
astore 1
start local 1 1: aload 0
aload 1
invokedynamic value([Ljava/lang/Object;)Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.altMetafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;I)V
org/eclipse/collections/impl/lazy/TakeIterable.lambda$0([Ljava/lang/Object;Ljava/lang/Object;I)V (6)
(Ljava/lang/Object;I)V
1
invokevirtual org.eclipse.collections.impl.lazy.TakeIterable.forEachWithIndex:(Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
1 3 1 result [Ljava/lang/Object;
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.eclipse.collections.impl.lazy.iterator.TakeIterator
dup
aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.adapted:Ljava/lang/Iterable;
aload 0
getfield org.eclipse.collections.impl.lazy.TakeIterable.count:I
invokespecial org.eclipse.collections.impl.lazy.iterator.TakeIterator.<init>:(Ljava/lang/Iterable;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/lazy/TakeIterable<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
private static void lambda$0(java.lang.Object[], java.lang.Object, int);
descriptor: ([Ljava/lang/Object;Ljava/lang/Object;I)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=3
start local 1 start local 2 0: aload 0
iload 2
aload 1
dup_x2
aastore
return
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 each TT;
0 1 2 index I
private static java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
descriptor: (Ljava/lang/invoke/SerializedLambda;)Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=3, args_size=1
0: aload 0
invokevirtual java.lang.invoke.SerializedLambda.getImplMethodName:()Ljava/lang/String;
astore 1
iconst_m1
istore 2
aload 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 1
-1647345005: 1
default: 2
}
StackMap locals: java.lang.String int
StackMap stack:
1: aload 1
ldc "lambda$0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
istore 2
StackMap locals:
StackMap stack:
2: iload 2
lookupswitch { // 1
0: 3
default: 4
}
StackMap locals:
StackMap stack:
3: aload 0
invokevirtual java.lang.invoke.SerializedLambda.getImplMethodKind:()I
bipush 6
if_icmpne 4
aload 0
invokevirtual java.lang.invoke.SerializedLambda.getFunctionalInterfaceClass:()Ljava/lang/String;
ldc "org/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
invokevirtual java.lang.invoke.SerializedLambda.getFunctionalInterfaceMethodName:()Ljava/lang/String;
ldc "value"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
invokevirtual java.lang.invoke.SerializedLambda.getFunctionalInterfaceMethodSignature:()Ljava/lang/String;
ldc "(Ljava/lang/Object;I)V"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
invokevirtual java.lang.invoke.SerializedLambda.getImplClass:()Ljava/lang/String;
ldc "org/eclipse/collections/impl/lazy/TakeIterable"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
invokevirtual java.lang.invoke.SerializedLambda.getImplMethodSignature:()Ljava/lang/String;
ldc "([Ljava/lang/Object;Ljava/lang/Object;I)V"
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
aload 0
iconst_0
invokevirtual java.lang.invoke.SerializedLambda.getCapturedArg:(I)Ljava/lang/Object;
checkcast java.lang.Object[]
invokedynamic value([Ljava/lang/Object;)Lorg/eclipse/collections/api/block/procedure/primitive/ObjectIntProcedure;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.altMetafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;I)V
org/eclipse/collections/impl/lazy/TakeIterable.lambda$0([Ljava/lang/Object;Ljava/lang/Object;I)V (6)
(Ljava/lang/Object;I)V
1
areturn
StackMap locals:
StackMap stack:
4: new java.lang.IllegalArgumentException
dup
ldc "Invalid lambda deserialization"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lorg/eclipse/collections/impl/lazy/AbstractLazyIterable<TT;>;
SourceFile: "TakeIterable.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles