class com.mongodb.connection.ClusterDescription$2 implements java.util.Comparator<com.mongodb.connection.ServerDescription>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.connection.ClusterDescription$2
super_class: java.lang.Object
{
final com.mongodb.connection.ClusterDescription this$0;
descriptor: Lcom/mongodb/connection/ClusterDescription;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.connection.ClusterDescription);
descriptor: (Lcom/mongodb/connection/ClusterDescription;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.mongodb.connection.ClusterDescription$2.this$0:Lcom/mongodb/connection/ClusterDescription;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ClusterDescription$2;
MethodParameters:
Name Flags
this$0 final
public int compare(com.mongodb.connection.ServerDescription, com.mongodb.connection.ServerDescription);
descriptor: (Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ServerDescription;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.getHost:()Ljava/lang/String;
aload 2
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.getHost:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 3
start local 3 1: iload 3
ifeq 3
2: iload 3
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.getPort:()I
aload 2
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
invokevirtual com.mongodb.ServerAddress.getPort:()I
invokevirtual com.mongodb.connection.ClusterDescription$2.integerCompare:(II)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/connection/ClusterDescription$2;
0 4 1 o1 Lcom/mongodb/connection/ServerDescription;
0 4 2 o2 Lcom/mongodb/connection/ServerDescription;
1 4 3 val I
MethodParameters:
Name Flags
o1 final
o2 final
private int integerCompare(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iload 2
if_icmpge 1
iconst_m1
goto 3
StackMap locals:
StackMap stack:
1: iload 1
iload 2
if_icmpne 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/connection/ClusterDescription$2;
0 4 1 p1 I
0 4 2 p2 I
MethodParameters:
Name Flags
p1 final
p2 final
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.mongodb.connection.ServerDescription
aload 2
checkcast com.mongodb.connection.ServerDescription
invokevirtual com.mongodb.connection.ClusterDescription$2.compare:(Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ServerDescription;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lcom/mongodb/connection/ServerDescription;>;
SourceFile: "ClusterDescription.java"
EnclosingMethod: com.mongodb.connection.ClusterDescription.getAll:()Ljava/util/Set;
NestHost: com.mongodb.connection.ClusterDescription
InnerClasses:
com.mongodb.connection.ClusterDescription$2