class jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator
super_class: java.lang.Object
{
private final java.util.Map<java.lang.String, java.text.CollationKey> keys;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/text/CollationKey;>;
private final java.text.Collator instance;
descriptor: Ljava/text/Collator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int MAX_SIZE;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
ConstantValue: 1000
private void <init>(java.util.Locale, int);
descriptor: (Ljava/util/Locale;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 1000
putfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.MAX_SIZE:I
2: aload 0
aload 1
invokestatic java.text.Collator.getInstance:(Ljava/util/Locale;)Ljava/text/Collator;
putfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.instance:Ljava/text/Collator;
3: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.instance:Ljava/text/Collator;
iload 2
invokevirtual java.text.Collator.setStrength:(I)V
4: aload 0
new jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator$1
dup
aload 0
sipush 1001
ldc 0.75
iconst_1
invokespecial jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator$1.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/Utils$DocCollator;IFZ)V
putfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.keys:Ljava/util/Map;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$DocCollator;
0 6 1 locale Ljava/util/Locale;
0 6 2 strength I
MethodParameters:
Name Flags
locale
strength
java.text.CollationKey getKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/text/CollationKey;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.keys:Ljava/util/Map;
aload 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.instance:Ljava/text/Collator;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/text/Collator;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/text/Collator.getCollationKey(Ljava/lang/String;)Ljava/text/CollationKey; (5)
(Ljava/lang/String;)Ljava/text/CollationKey;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.text.CollationKey
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$DocCollator;
0 1 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public int compare(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.getKey:(Ljava/lang/String;)Ljava/text/CollationKey;
aload 0
aload 2
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator.getKey:(Ljava/lang/String;)Ljava/text/CollationKey;
invokevirtual java.text.CollationKey.compareTo:(Ljava/text/CollationKey;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/util/Utils$DocCollator;
0 1 1 s1 Ljava/lang/String;
0 1 2 s2 Ljava/lang/String;
MethodParameters:
Name Flags
s1
s2
}
SourceFile: "Utils.java"
NestHost: jdk.javadoc.internal.doclets.toolkit.util.Utils
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private DocCollator = jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator of jdk.javadoc.internal.doclets.toolkit.util.Utils
jdk.javadoc.internal.doclets.toolkit.util.Utils$DocCollator$1