public final class org.hibernate.internal.util.collections.ArrayHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.internal.util.collections.ArrayHelper
super_class: java.lang.Object
{
public static final boolean[] TRUE;
descriptor: [Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean[] FALSE;
descriptor: [Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String[] EMPTY_STRING_ARRAY;
descriptor: [Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final int[] EMPTY_INT_ARRAY;
descriptor: [I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean[] EMPTY_BOOLEAN_ARRAY;
descriptor: [Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Class[] EMPTY_CLASS_ARRAY;
descriptor: [Ljava/lang/Class;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.Object[] EMPTY_OBJECT_ARRAY;
descriptor: [Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.hibernate.type.Type[] EMPTY_TYPE_ARRAY;
descriptor: [Lorg/hibernate/type/Type;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final byte[] EMPTY_BYTE_ARRAY;
descriptor: [B
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static int SEED;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int PRIME_NUMER;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
newarray 4
dup
iconst_0
iconst_1
bastore
putstatic org.hibernate.internal.util.collections.ArrayHelper.TRUE:[Z
1: iconst_1
newarray 4
putstatic org.hibernate.internal.util.collections.ArrayHelper.FALSE:[Z
2: iconst_0
anewarray java.lang.String
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_STRING_ARRAY:[Ljava/lang/String;
3: iconst_0
newarray 10
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_INT_ARRAY:[I
4: iconst_0
newarray 4
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_BOOLEAN_ARRAY:[Z
5: iconst_0
anewarray java.lang.Class
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_CLASS_ARRAY:[Ljava/lang/Class;
6: iconst_0
anewarray java.lang.Object
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_OBJECT_ARRAY:[Ljava/lang/Object;
7: iconst_0
anewarray org.hibernate.type.Type
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_TYPE_ARRAY:[Lorg/hibernate/type/Type;
8: iconst_0
newarray 8
putstatic org.hibernate.internal.util.collections.ArrayHelper.EMPTY_BYTE_ARRAY:[B
9: bipush 23
putstatic org.hibernate.internal.util.collections.ArrayHelper.SEED:I
10: bipush 37
putstatic org.hibernate.internal.util.collections.ArrayHelper.PRIME_NUMER:I
return
LocalVariableTable:
Start End Slot Name Signature
public static boolean contains(java.lang.Object[], java.lang.Object);
descriptor: ([Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.hibernate.internal.util.collections.ArrayHelper.indexOf:([Ljava/lang/Object;Ljava/lang/Object;)I
iconst_m1
if_icmple 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 array [Ljava/lang/Object;
0 2 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
array
object
public static int indexOf(java.lang.Object[], java.lang.Object);
descriptor: ([Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
aaload
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iload 2
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
arraylength
if_icmplt 2
end local 2 6: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Ljava/lang/Object;
0 7 1 object Ljava/lang/Object;
1 6 2 i I
MethodParameters:
Name Flags
array
object
public static java.lang.String[] toStringArray(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.String[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 objects [Ljava/lang/Object;
1 8 1 length I
2 8 2 result [Ljava/lang/String;
3 7 3 i I
MethodParameters:
Name Flags
objects
public static java.lang.String[] fillArray(java.lang.String, int);
descriptor: (Ljava/lang/String;I)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
anewarray java.lang.String
astore 2
start local 2 1: aload 2
aload 0
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value Ljava/lang/String;
0 3 1 length I
1 3 2 result [Ljava/lang/String;
MethodParameters:
Name Flags
value
length
public static int[] fillArray(int, int);
descriptor: (II)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 10
astore 2
start local 2 1: aload 2
iload 0
invokestatic java.util.Arrays.fill:([II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value I
0 3 1 length I
1 3 2 result [I
MethodParameters:
Name Flags
value
length
public static org.hibernate.LockMode[] fillArray(org.hibernate.LockMode, int);
descriptor: (Lorg/hibernate/LockMode;I)[Lorg/hibernate/LockMode;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
anewarray org.hibernate.LockMode
astore 2
start local 2 1: aload 2
aload 0
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lockMode Lorg/hibernate/LockMode;
0 3 1 length I
1 3 2 array [Lorg/hibernate/LockMode;
MethodParameters:
Name Flags
lockMode
length
public static org.hibernate.LockOptions[] fillArray(org.hibernate.LockOptions, int);
descriptor: (Lorg/hibernate/LockOptions;I)[Lorg/hibernate/LockOptions;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
anewarray org.hibernate.LockOptions
astore 2
start local 2 1: aload 2
aload 0
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 lockOptions Lorg/hibernate/LockOptions;
0 3 1 length I
1 3 2 array [Lorg/hibernate/LockOptions;
MethodParameters:
Name Flags
lockOptions
length
public static java.lang.String[] toStringArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface java.util.Collection.size:()I
anewarray java.lang.String
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 coll Ljava/util/Collection;
MethodParameters:
Name Flags
coll
public static java.lang.String[][] to2DStringArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface java.util.Collection.size:()I
anewarray java.lang.String[]
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[][]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 coll Ljava/util/Collection;
MethodParameters:
Name Flags
coll
public static int[][] to2DIntArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface java.util.Collection.size:()I
anewarray int[]
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast int[][]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 coll Ljava/util/Collection;
MethodParameters:
Name Flags
coll
public static org.hibernate.type.Type[] toTypeArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[Lorg/hibernate/type/Type;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokeinterface java.util.Collection.size:()I
anewarray org.hibernate.type.Type
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.hibernate.type.Type[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 coll Ljava/util/Collection;
MethodParameters:
Name Flags
coll
public static int[] toIntArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.size:()I
newarray 10
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 5
4: StackMap locals: java.util.Iterator int[] int
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 coll Ljava/util/Collection;
1 7 1 iter Ljava/util/Iterator;
2 7 2 arr [I
3 7 3 i I
MethodParameters:
Name Flags
coll
public static boolean[] toBooleanArray(java.util.Collection);
descriptor: (Ljava/util/Collection;)[Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: aload 0
invokeinterface java.util.Collection.size:()I
newarray 4
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 5
4: StackMap locals: java.util.Iterator boolean[] int
StackMap stack:
aload 2
iload 3
iinc 3 1
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
bastore
5: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
6: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 coll Ljava/util/Collection;
1 7 1 iter Ljava/util/Iterator;
2 7 2 arr [Z
3 7 3 i I
MethodParameters:
Name Flags
coll
public static java.lang.Object[] typecast(java.lang.Object[], java.lang.Object[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
aload 1
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [Ljava/lang/Object;
0 1 1 to [Ljava/lang/Object;
MethodParameters:
Name Flags
array
to
public static java.util.List toList(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.lang.Object[]
ifeq 1
aload 0
checkcast java.lang.Object[]
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
1: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 1
start local 1 2: new java.util.ArrayList
dup
iload 1
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: int java.util.ArrayList int
StackMap stack:
aload 2
aload 0
iload 3
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 5
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 array Ljava/lang/Object;
2 9 1 size I
3 9 2 list Ljava/util/ArrayList;
4 8 3 i I
MethodParameters:
Name Flags
array
public static java.lang.String[] slice(java.lang.String[], int, int);
descriptor: ([Ljava/lang/String;II)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
anewarray java.lang.String
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 strings [Ljava/lang/String;
0 3 1 begin I
0 3 2 length I
1 3 3 result [Ljava/lang/String;
MethodParameters:
Name Flags
strings
begin
length
public static java.lang.Object[] slice(java.lang.Object[], int, int);
descriptor: ([Ljava/lang/Object;II)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
anewarray java.lang.Object
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 objects [Ljava/lang/Object;
0 3 1 begin I
0 3 2 length I
1 3 3 result [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
begin
length
public static java.util.List toList(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: goto 3
2: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 iter Ljava/util/Iterator;
1 5 1 list Ljava/util/List;
MethodParameters:
Name Flags
iter
public static java.lang.String[] join(java.lang.String[], java.lang.String[]);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
iadd
anewarray java.lang.String
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
aload 2
aload 0
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x [Ljava/lang/String;
0 4 1 y [Ljava/lang/String;
1 4 2 result [Ljava/lang/String;
MethodParameters:
Name Flags
x
y
public static java.lang.String[] join(java.lang.String[], java.lang.String[], boolean[]);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;[Z)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
arraylength
aload 2
invokestatic org.hibernate.internal.util.collections.ArrayHelper.countTrue:([Z)I
iadd
anewarray java.lang.String
astore 3
start local 3 1: aload 0
iconst_0
aload 3
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
arraylength
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 8
5: StackMap locals: java.lang.String[] int int
StackMap stack:
aload 2
iload 5
baload
ifeq 7
6: aload 3
iload 4
iinc 4 1
aload 1
iload 5
aaload
aastore
7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 1
arraylength
if_icmplt 5
end local 5 9: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 x [Ljava/lang/String;
0 10 1 y [Ljava/lang/String;
0 10 2 use [Z
1 10 3 result [Ljava/lang/String;
3 10 4 k I
4 9 5 i I
MethodParameters:
Name Flags
x
y
use
public static int[] join(int[], int[]);
descriptor: ([I[I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
iadd
newarray 10
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
aload 2
aload 0
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x [I
0 4 1 y [I
1 4 2 result [I
MethodParameters:
Name Flags
x
y
public static <T> T[] join(T[], );
descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
aload 0
arraylength
aload 1
arraylength
iadd
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
iconst_0
aload 2
aload 0
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x [Ljava/lang/Object;
0 4 1 y [Ljava/lang/Object;
1 4 2 result [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;[TT;)[TT;
MethodParameters:
Name Flags
x
y
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/util/collections/ArrayHelper;
public static java.lang.String toString(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
aload 0
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
5: iload 2
aload 0
arraylength
iconst_1
isub
if_icmpge 6
aload 1
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
arraylength
if_icmplt 4
end local 2 8: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [Ljava/lang/Object;
1 10 1 sb Ljava/lang/StringBuilder;
3 8 2 i I
MethodParameters:
Name Flags
array
public static boolean isAllNegative(int[]);
descriptor: ([I)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: int[] top int int int[]
StackMap stack:
1: aload 4
iload 2
iaload
istore 1
start local 1 2: iload 1
iflt 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [I
2 4 1 anArray I
MethodParameters:
Name Flags
array
public static boolean isAllTrue(boolean[]);
descriptor: ([Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: boolean[] top int int boolean[]
StackMap stack:
1: aload 4
iload 2
baload
istore 1
start local 1 2: iload 1
ifne 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Z
2 4 1 anArray Z
MethodParameters:
Name Flags
array
public static int countTrue(boolean[]);
descriptor: ([Z)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: boolean[] int top int int boolean[]
StackMap stack:
2: aload 5
iload 3
baload
istore 2
start local 2 3: iload 2
ifeq 5
4: iinc 1 1
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 array [Z
1 8 1 result I
3 5 2 anArray Z
MethodParameters:
Name Flags
array
public static boolean isAllFalse(boolean[]);
descriptor: ([Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: boolean[] top int int boolean[]
StackMap stack:
1: aload 4
iload 2
baload
istore 1
start local 1 2: iload 1
ifeq 4
3: iconst_0
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Z
2 4 1 anArray Z
MethodParameters:
Name Flags
array
public static void addAll(java.util.Collection, java.lang.Object[]);
descriptor: (Ljava/util/Collection;[Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 collection Ljava/util/Collection;
0 2 1 array [Ljava/lang/Object;
MethodParameters:
Name Flags
collection
array
public static int[] getBatchSizes(int);
descriptor: (I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iload 0
istore 1
start local 1 1: iconst_1
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
invokestatic org.hibernate.internal.util.collections.ArrayHelper.getNextBatchSize:(I)I
istore 1
4: iinc 2 1
5: StackMap locals:
StackMap stack:
iload 1
iconst_1
if_icmpgt 3
6: iload 2
newarray 10
astore 3
start local 3 7: iload 0
istore 1
8: iconst_0
istore 4
start local 4 9: goto 13
10: StackMap locals: int[] int
StackMap stack:
aload 3
iload 4
iload 1
iastore
11: iload 1
invokestatic org.hibernate.internal.util.collections.ArrayHelper.getNextBatchSize:(I)I
istore 1
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmplt 10
end local 4 14: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 maxBatchSize I
1 15 1 batchSize I
2 15 2 n I
7 15 3 result [I
9 14 4 i I
MethodParameters:
Name Flags
maxBatchSize
private static int getNextBatchSize(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
bipush 10
if_icmpgt 2
1: iload 0
iconst_1
isub
ireturn
2: StackMap locals:
StackMap stack:
iload 0
iconst_2
idiv
bipush 10
if_icmpge 4
3: bipush 10
ireturn
4: StackMap locals:
StackMap stack:
iload 0
iconst_2
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 batchSize I
MethodParameters:
Name Flags
batchSize
public static int hash(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
arraylength
pop
1: getstatic org.hibernate.internal.util.collections.ArrayHelper.SEED:I
istore 1
start local 1 2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: java.lang.Object[] int top int int java.lang.Object[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: iload 1
aload 2
ifnonnull 5
iconst_0
goto 6
StackMap locals: java.lang.Object[] int java.lang.Object int int java.lang.Object[]
StackMap stack: int
5: aload 2
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: java.lang.Object[] int java.lang.Object int int java.lang.Object[]
StackMap stack: int int
6: invokestatic org.hibernate.internal.util.collections.ArrayHelper.hash:(II)I
istore 1
end local 2 7: iinc 3 1
StackMap locals: java.lang.Object[] int top int int java.lang.Object[]
StackMap stack:
8: iload 3
iload 4
if_icmplt 3
9: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [Ljava/lang/Object;
2 10 1 seed I
4 7 2 anArray Ljava/lang/Object;
MethodParameters:
Name Flags
array
public static int hash(char[]);
descriptor: ([C)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
arraylength
pop
1: getstatic org.hibernate.internal.util.collections.ArrayHelper.SEED:I
istore 1
start local 1 2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: char[] int top int int char[]
StackMap stack:
3: aload 5
iload 3
caload
istore 2
start local 2 4: iload 1
iload 2
invokestatic org.hibernate.internal.util.collections.ArrayHelper.hash:(II)I
istore 1
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 array [C
2 8 1 seed I
4 5 2 anArray C
MethodParameters:
Name Flags
array
public static int hash(byte[]);
descriptor: ([B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
arraylength
pop
1: getstatic org.hibernate.internal.util.collections.ArrayHelper.SEED:I
istore 1
start local 1 2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: byte[] int top int int byte[]
StackMap stack:
3: aload 5
iload 3
baload
istore 2
start local 2 4: iload 1
iload 2
invokestatic org.hibernate.internal.util.collections.ArrayHelper.hash:(II)I
istore 1
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 bytes [B
2 8 1 seed I
4 5 2 aByte B
MethodParameters:
Name Flags
bytes
private static int hash(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.hibernate.internal.util.collections.ArrayHelper.PRIME_NUMER:I
iload 0
imul
iload 1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 seed I
0 1 1 i I
MethodParameters:
Name Flags
seed
i
public static boolean isEquals(java.lang.Object[], java.lang.Object[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
ifnull 2
aload 1
ifnonnull 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 2
start local 2 4: iload 2
aload 1
arraylength
if_icmpeq 5
iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
iload 3
aaload
aload 1
iload 3
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 7
end local 3 10: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 o1 [Ljava/lang/Object;
0 11 1 o2 [Ljava/lang/Object;
4 11 2 length I
6 10 3 index I
MethodParameters:
Name Flags
o1
o2
public static boolean isEquals(char[], char[]);
descriptor: ([C[C)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
ifnull 2
aload 1
ifnonnull 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 2
start local 2 4: iload 2
aload 1
arraylength
if_icmpeq 5
iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
iload 3
caload
aload 1
iload 3
caload
if_icmpeq 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 7
end local 3 10: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 o1 [C
0 11 1 o2 [C
4 11 2 length I
6 10 3 index I
MethodParameters:
Name Flags
o1
o2
public static boolean isEquals(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
ifnull 2
aload 1
ifnonnull 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
arraylength
istore 2
start local 2 4: iload 2
aload 1
arraylength
if_icmpeq 5
iconst_0
ireturn
5: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
iload 3
baload
aload 1
iload 3
baload
if_icmpeq 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 7
end local 3 10: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 b1 [B
0 11 1 b2 [B
4 11 2 length I
6 10 3 index I
MethodParameters:
Name Flags
b1
b2
public static java.io.Serializable[] (java.io.Serializable[]);
descriptor: ([Ljava/io/Serializable;)[Ljava/io/Serializable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.collections.ArrayHelper.countNonNull:([Ljava/io/Serializable;)I
istore 1
start local 1 1: iload 1
anewarray java.io.Serializable
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 0
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: java.io.Serializable[] int java.io.Serializable[] int top int int java.io.Serializable[]
StackMap stack:
4: aload 7
iload 5
aaload
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 2
iload 3
iinc 3 1
aload 4
aastore
end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 4
9: iload 3
iload 1
if_icmpeq 11
10: new org.hibernate.HibernateException
dup
ldc "Number of non-null elements varied between iterations"
invokespecial org.hibernate.HibernateException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.io.Serializable[] int java.io.Serializable[] int
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 array [Ljava/io/Serializable;
1 12 1 nonNullCount I
2 12 2 result [Ljava/io/Serializable;
3 12 3 i I
5 7 4 element Ljava/io/Serializable;
MethodParameters:
Name Flags
array
public static int countNonNull(java.io.Serializable[]);
descriptor: ([Ljava/io/Serializable;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.io.Serializable[] int top int int java.io.Serializable[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
ifnull 5
4: iinc 1 1
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 array [Ljava/io/Serializable;
1 8 1 i I
3 5 2 element Ljava/io/Serializable;
MethodParameters:
Name Flags
array
public static java.lang.String[] reverse(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int java.lang.String[] int
StackMap stack:
iload 1
iload 3
isub
iconst_1
isub
istore 4
start local 4 5: aload 2
iload 4
aload 0
iload 3
aaload
aastore
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 4
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 source [Ljava/lang/String;
1 9 1 length I
2 9 2 destination [Ljava/lang/String;
3 8 3 i I
5 6 4 x I
MethodParameters:
Name Flags
source
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=1
start local 0 0: bipush 32
invokestatic org.hibernate.internal.util.collections.ArrayHelper.getBatchSizes:(I)[I
astore 1
start local 1 1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Forward ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int[] int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 2
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 4
end local 2 7: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Backward ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 9: goto 12
10: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iload 2
iaload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: iinc 2 -1
StackMap locals:
StackMap stack:
12: iload 2
ifge 10
end local 2 13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 args [Ljava/lang/String;
1 14 1 batchSizes [I
3 7 2 i I
9 13 2 i I
MethodParameters:
Name Flags
args
}
SourceFile: "ArrayHelper.java"