public class org.eclipse.jetty.util.resource.ResourceCollators
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.resource.ResourceCollators
super_class: java.lang.Object
{
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_NAME_ASCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_NAME_DESCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_LAST_MODIFIED_ASCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_LAST_MODIFIED_DESCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_SIZE_ASCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
private static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> BY_SIZE_DESCENDING;
descriptor: Ljava/util/Comparator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.eclipse.jetty.util.resource.ResourceCollators$1
dup
invokespecial org.eclipse.jetty.util.resource.ResourceCollators$1.<init>:()V
1: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_NAME_ASCENDING:Ljava/util/Comparator;
2: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_NAME_ASCENDING:Ljava/util/Comparator;
invokestatic java.util.Collections.reverseOrder:(Ljava/util/Comparator;)Ljava/util/Comparator;
3: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_NAME_DESCENDING:Ljava/util/Comparator;
4: invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
org/eclipse/jetty/util/resource/Resource.lastModified()J (5)
(Lorg/eclipse/jetty/util/resource/Resource;)J
invokestatic java.util.Comparator.comparingLong:(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;
5: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_LAST_MODIFIED_ASCENDING:Ljava/util/Comparator;
6: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_LAST_MODIFIED_ASCENDING:Ljava/util/Comparator;
invokestatic java.util.Collections.reverseOrder:(Ljava/util/Comparator;)Ljava/util/Comparator;
7: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_LAST_MODIFIED_DESCENDING:Ljava/util/Comparator;
8: invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
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;)J
org/eclipse/jetty/util/resource/Resource.length()J (5)
(Lorg/eclipse/jetty/util/resource/Resource;)J
invokestatic java.util.Comparator.comparingLong:(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;
9: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_SIZE_ASCENDING:Ljava/util/Comparator;
10: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_SIZE_ASCENDING:Ljava/util/Comparator;
invokestatic java.util.Collections.reverseOrder:(Ljava/util/Comparator;)Ljava/util/Comparator;
11: putstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_SIZE_DESCENDING:Ljava/util/Comparator;
12: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/eclipse/jetty/util/resource/ResourceCollators;
public static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> byLastModified(boolean);
descriptor: (Z)Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 2
1: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_LAST_MODIFIED_ASCENDING:Ljava/util/Comparator;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_LAST_MODIFIED_DESCENDING:Ljava/util/Comparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sortOrderAscending Z
Signature: (Z)Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
MethodParameters:
Name Flags
sortOrderAscending
public static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> byName(boolean);
descriptor: (Z)Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 2
1: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_NAME_ASCENDING:Ljava/util/Comparator;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_NAME_DESCENDING:Ljava/util/Comparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sortOrderAscending Z
Signature: (Z)Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
MethodParameters:
Name Flags
sortOrderAscending
public static java.util.Comparator<? super org.eclipse.jetty.util.resource.Resource> bySize(boolean);
descriptor: (Z)Ljava/util/Comparator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
ifeq 2
1: getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_SIZE_ASCENDING:Ljava/util/Comparator;
areturn
2: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.util.resource.ResourceCollators.BY_SIZE_DESCENDING:Ljava/util/Comparator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sortOrderAscending Z
Signature: (Z)Ljava/util/Comparator<-Lorg/eclipse/jetty/util/resource/Resource;>;
MethodParameters:
Name Flags
sortOrderAscending
}
SourceFile: "ResourceCollators.java"
NestMembers:
org.eclipse.jetty.util.resource.ResourceCollators$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.eclipse.jetty.util.resource.ResourceCollators$1