public final class org.eclipse.collections.impl.utility.internal.MutableCollectionIterate
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.utility.internal.MutableCollectionIterate
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/utility/internal/MutableCollectionIterate;
public static <T> org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> chunk(org.eclipse.collections.api.collection.MutableCollection<T>, int);
descriptor: (Lorg/eclipse/collections/api/collection/MutableCollection;I)Lorg/eclipse/collections/api/RichIterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifgt 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Size for groups must be positive but was: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
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
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.eclipse.collections.api.collection.MutableCollection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: getstatic org.eclipse.collections.impl.factory.Lists.mutable:Lorg/eclipse/collections/api/factory/list/MutableListFactory;
invokeinterface org.eclipse.collections.api.factory.list.MutableListFactory.empty:()Lorg/eclipse/collections/api/list/MutableList;
astore 3
start local 3 4: goto 12
5: StackMap locals: java.util.Iterator org.eclipse.collections.api.list.MutableList
StackMap stack:
aload 0
invokeinterface org.eclipse.collections.api.collection.MutableCollection.newEmpty:()Lorg/eclipse/collections/api/collection/MutableCollection;
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 10
8: StackMap locals: org.eclipse.collections.api.collection.MutableCollection int
StackMap stack:
aload 4
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface org.eclipse.collections.api.collection.MutableCollection.add:(Ljava/lang/Object;)Z
pop
9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 1
if_icmpge 11
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
end local 5 11: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface org.eclipse.collections.api.list.MutableList.add:(Ljava/lang/Object;)Z
pop
end local 4 12: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 collection Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;
0 14 1 size I
3 14 2 iterator Ljava/util/Iterator<TT;>;
4 14 3 result Lorg/eclipse/collections/api/list/MutableList<Lorg/eclipse/collections/api/RichIterable<TT;>;>;
6 12 4 batch Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;
7 11 5 i I
Signature: <T:Ljava/lang/Object;>(Lorg/eclipse/collections/api/collection/MutableCollection<TT;>;I)Lorg/eclipse/collections/api/RichIterable<Lorg/eclipse/collections/api/RichIterable<TT;>;>;
MethodParameters:
Name Flags
collection
size
}
SourceFile: "MutableCollectionIterate.java"