public final class org.eclipse.collections.impl.parallel.ParallelArrayIterate
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.parallel.ParallelArrayIterate
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
ldc "Suppress default constructor for noninstantiability"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/parallel/ParallelArrayIterate;
public static <T, BT extends org.eclipse.collections.api.block.procedure.Procedure<? super T>> void forEach(T[], org.eclipse.collections.impl.parallel.ProcedureFactory<BT>, org.eclipse.collections.impl.parallel.Combiner<BT>);
descriptor: ([Ljava/lang/Object;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;Lorg/eclipse/collections/impl/parallel/Combiner;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.eclipse.collections.impl.parallel.ParallelIterate.DEFAULT_PARALLEL_TASK_COUNT:I
aload 0
arraylength
sipush 10000
idiv
invokestatic java.lang.Math.max:(II)I
istore 3
start local 3 1: aload 0
aload 1
aload 2
sipush 10000
iload 3
invokestatic org.eclipse.collections.impl.parallel.ParallelArrayIterate.forEach:([Ljava/lang/Object;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;Lorg/eclipse/collections/impl/parallel/Combiner;II)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [Ljava/lang/Object;
0 3 1 procedureFactory Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;
0 3 2 combiner Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;
1 3 3 taskCount I
Signature: <T:Ljava/lang/Object;BT::Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>([TT;Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;)V
MethodParameters:
Name Flags
array
procedureFactory
combiner
public static <T, BT extends org.eclipse.collections.api.block.procedure.Procedure<? super T>> void forEach(T[], org.eclipse.collections.impl.parallel.ProcedureFactory<BT>, org.eclipse.collections.impl.parallel.Combiner<BT>, int, );
descriptor: ([Ljava/lang/Object;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;Lorg/eclipse/collections/impl/parallel/Combiner;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
getstatic org.eclipse.collections.impl.parallel.ParallelIterate.EXECUTOR_SERVICE:Ljava/util/concurrent/ExecutorService;
invokestatic org.eclipse.collections.impl.parallel.ParallelArrayIterate.forEachOn:([Ljava/lang/Object;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;Lorg/eclipse/collections/impl/parallel/Combiner;IILjava/util/concurrent/Executor;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 array [Ljava/lang/Object;
0 2 1 procedureFactory Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;
0 2 2 combiner Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;
0 2 3 minForkSize I
0 2 4 taskCount I
Signature: <T:Ljava/lang/Object;BT::Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>([TT;Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;II)V
MethodParameters:
Name Flags
array
procedureFactory
combiner
minForkSize
taskCount
public static <T, BT extends org.eclipse.collections.api.block.procedure.Procedure<? super T>> void forEachOn(T[], org.eclipse.collections.impl.parallel.ProcedureFactory<BT>, org.eclipse.collections.impl.parallel.Combiner<BT>, int, int, java.util.concurrent.Executor);
descriptor: ([Ljava/lang/Object;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;Lorg/eclipse/collections/impl/parallel/Combiner;IILjava/util/concurrent/Executor;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokestatic org.eclipse.collections.impl.utility.ArrayIterate.notEmpty:([Ljava/lang/Object;)Z
ifeq 9
1: aload 0
arraylength
istore 6
start local 6 2: iload 6
iload 3
if_icmpge 7
3: aload 1
invokeinterface org.eclipse.collections.impl.parallel.ProcedureFactory.create:()Lorg/eclipse/collections/api/block/procedure/Procedure;
astore 7
start local 7 4: aload 0
aload 7
invokestatic org.eclipse.collections.impl.utility.ArrayIterate.forEach:([Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
5: aload 2
aload 7
invokestatic org.eclipse.collections.impl.parallel.ParallelArrayIterate.combineSingleProcedure:(Lorg/eclipse/collections/impl/parallel/Combiner;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
end local 7 6: goto 9
7: StackMap locals: int
StackMap stack:
iload 6
iload 4
invokestatic java.lang.Math.min:(II)I
istore 7
start local 7 8: new org.eclipse.collections.impl.parallel.ArrayProcedureFJTaskRunner
dup
aload 2
iload 7
invokespecial org.eclipse.collections.impl.parallel.ArrayProcedureFJTaskRunner.<init>:(Lorg/eclipse/collections/impl/parallel/Combiner;I)V
aload 5
aload 1
aload 0
invokevirtual org.eclipse.collections.impl.parallel.ArrayProcedureFJTaskRunner.executeAndCombine:(Ljava/util/concurrent/Executor;Lorg/eclipse/collections/impl/parallel/ProcedureFactory;[Ljava/lang/Object;)V
end local 7 end local 6 9: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [Ljava/lang/Object;
0 10 1 procedureFactory Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;
0 10 2 combiner Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;
0 10 3 minForkSize I
0 10 4 taskCount I
0 10 5 executor Ljava/util/concurrent/Executor;
2 9 6 size I
4 6 7 procedure TBT;
8 9 7 threadCount I
Signature: <T:Ljava/lang/Object;BT::Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>([TT;Lorg/eclipse/collections/impl/parallel/ProcedureFactory<TBT;>;Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;IILjava/util/concurrent/Executor;)V
MethodParameters:
Name Flags
array
procedureFactory
combiner
minForkSize
taskCount
executor
private static <T, BT extends org.eclipse.collections.api.block.procedure.Procedure<? super T>> void combineSingleProcedure(org.eclipse.collections.impl.parallel.Combiner<BT>, );
descriptor: (Lorg/eclipse/collections/impl/parallel/Combiner;Lorg/eclipse/collections/api/block/procedure/Procedure;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.eclipse.collections.impl.parallel.Combiner.useCombineOne:()Z
ifeq 3
1: aload 0
aload 1
invokeinterface org.eclipse.collections.impl.parallel.Combiner.combineOne:(Ljava/lang/Object;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.eclipse.collections.impl.factory.Iterables.iList:(Ljava/lang/Object;)Lorg/eclipse/collections/api/list/ImmutableList;
invokeinterface org.eclipse.collections.impl.parallel.Combiner.combineAll:(Ljava/lang/Iterable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 combiner Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;
0 5 1 procedure TBT;
Signature: <T:Ljava/lang/Object;BT::Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>(Lorg/eclipse/collections/impl/parallel/Combiner<TBT;>;TBT;)V
MethodParameters:
Name Flags
combiner
procedure
}
SourceFile: "ParallelArrayIterate.java"