public final class org.hibernate.internal.util.collections.CollectionHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.internal.util.collections.CollectionHelper
super_class: java.lang.Object
{
public static final int MINIMUM_INITIAL_CAPACITY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final float LOAD_FACTOR;
descriptor: F
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0.75
public static final java.util.List EMPTY_LIST;
descriptor: Ljava/util/List;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.util.Collection EMPTY_COLLECTION;
descriptor: Ljava/util/Collection;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final java.util.Map EMPTY_MAP;
descriptor: Ljava/util/Map;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
putstatic org.hibernate.internal.util.collections.CollectionHelper.EMPTY_LIST:Ljava/util/List;
1: getstatic java.util.Collections.EMPTY_LIST:Ljava/util/List;
putstatic org.hibernate.internal.util.collections.CollectionHelper.EMPTY_COLLECTION:Ljava/util/Collection;
2: getstatic java.util.Collections.EMPTY_MAP:Ljava/util/Map;
putstatic org.hibernate.internal.util.collections.CollectionHelper.EMPTY_MAP:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/internal/util/collections/CollectionHelper;
public static <K, V> java.util.Map<K, V> mapOfSize(int);
descriptor: (I)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.HashMap
dup
iload 0
invokestatic org.hibernate.internal.util.collections.CollectionHelper.determineProperSizing:(I)I
ldc 0.75
invokespecial java.util.HashMap.<init>:(IF)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 size I
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(I)Ljava/util/Map<TK;TV;>;
MethodParameters:
Name Flags
size
public static int determineProperSizing(java.util.Map);
descriptor: (Ljava/util/Map;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map.size:()I
invokestatic org.hibernate.internal.util.collections.CollectionHelper.determineProperSizing:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 original Ljava/util/Map;
MethodParameters:
Name Flags
original
public static int determineProperSizing(java.util.Set);
descriptor: (Ljava/util/Set;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Set.size:()I
invokestatic org.hibernate.internal.util.collections.CollectionHelper.determineProperSizing:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 original Ljava/util/Set;
MethodParameters:
Name Flags
original
public static int determineProperSizing(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
i2f
ldc 0.75
fdiv
f2i
iconst_1
iadd
istore 1
start local 1 1: iload 1
bipush 16
invokestatic java.lang.Math.max:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 numberOfElements I
1 2 1 actual I
MethodParameters:
Name Flags
numberOfElements
public static <K, V> java.util.concurrent.ConcurrentHashMap<K, V> concurrentMap(int);
descriptor: (I)Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 0.75
invokestatic org.hibernate.internal.util.collections.CollectionHelper.concurrentMap:(IF)Ljava/util/concurrent/ConcurrentHashMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 expectedNumberOfElements I
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(I)Ljava/util/concurrent/ConcurrentHashMap<TK;TV;>;
MethodParameters:
Name Flags
expectedNumberOfElements
public static <K, V> java.util.concurrent.ConcurrentHashMap<K, V> concurrentMap(int, float);
descriptor: (IF)Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iconst_1
iadd
iload 0
i2f
fload 1
fmul
f2i
iadd
istore 2
start local 2 1: new java.util.concurrent.ConcurrentHashMap
dup
iload 2
fload 1
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(IF)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 expectedNumberOfElements I
0 2 1 loadFactor F
1 2 2 size I
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>(IF)Ljava/util/concurrent/ConcurrentHashMap<TK;TV;>;
MethodParameters:
Name Flags
expectedNumberOfElements
loadFactor
public static <T> java.util.List<T> arrayList(int);
descriptor: (I)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
iload 0
invokespecial java.util.ArrayList.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 anticipatedSize I
Signature: <T:Ljava/lang/Object;>(I)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
anticipatedSize
public static <T> java.util.Set<T> makeCopy(java.util.Set<T>);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Set.size:()I
istore 1
start local 1 3: new java.util.HashSet
dup
iload 1
iconst_1
iadd
invokespecial java.util.HashSet.<init>:(I)V
astore 2
start local 2 4: aload 2
aload 0
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Ljava/util/Set<TT;>;
3 6 1 size I
4 6 2 copy Ljava/util/Set<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Set<TT;>;)Ljava/util/Set<TT;>;
MethodParameters:
Name Flags
source
public static boolean isEmpty(java.util.Collection);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Collection.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 collection Ljava/util/Collection;
MethodParameters:
Name Flags
collection
public static boolean isEmpty(java.util.Map);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 map Ljava/util/Map;
MethodParameters:
Name Flags
map
public static boolean isNotEmpty(java.util.Collection);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.collections.CollectionHelper.isEmpty:(Ljava/util/Collection;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 collection Ljava/util/Collection;
MethodParameters:
Name Flags
collection
public static boolean isNotEmpty(java.util.Map);
descriptor: (Ljava/util/Map;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.collections.CollectionHelper.isEmpty:(Ljava/util/Map;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljava/util/Map;
MethodParameters:
Name Flags
map
public static boolean isEmpty(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 objects [Ljava/lang/Object;
MethodParameters:
Name Flags
objects
public static <X, Y> java.util.Map<X, Y> makeCopy(java.util.Map<X, Y>);
descriptor: (Ljava/util/Map;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Map.size:()I
iconst_1
iadd
invokestatic org.hibernate.internal.util.collections.CollectionHelper.mapOfSize:(I)Ljava/util/Map;
astore 1
start local 1 1: aload 1
aload 0
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljava/util/Map<TX;TY;>;
1 3 1 copy Ljava/util/Map<TX;TY;>;
Signature: <X:Ljava/lang/Object;Y:Ljava/lang/Object;>(Ljava/util/Map<TX;TY;>;)Ljava/util/Map<TX;TY;>;
MethodParameters:
Name Flags
map
}
SourceFile: "CollectionHelper.java"