class org.apache.cassandra.locator.AbstractEndpointSnitch$1 implements java.util.Comparator<java.net.InetAddress>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.locator.AbstractEndpointSnitch$1
super_class: java.lang.Object
{
final org.apache.cassandra.locator.AbstractEndpointSnitch this$0;
descriptor: Lorg/apache/cassandra/locator/AbstractEndpointSnitch;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.net.InetAddress val$address;
descriptor: Ljava/net/InetAddress;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.apache.cassandra.locator.AbstractEndpointSnitch, java.net.InetAddress);
descriptor: (Lorg/apache/cassandra/locator/AbstractEndpointSnitch;Ljava/net/InetAddress;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield org.apache.cassandra.locator.AbstractEndpointSnitch$1.this$0:Lorg/apache/cassandra/locator/AbstractEndpointSnitch;
aload 0
aload 2
putfield org.apache.cassandra.locator.AbstractEndpointSnitch$1.val$address:Ljava/net/InetAddress;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/AbstractEndpointSnitch$1;
MethodParameters:
Name Flags
this$0 final
val$address final
public int compare(java.net.InetAddress, java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;Ljava/net/InetAddress;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.cassandra.locator.AbstractEndpointSnitch$1.this$0:Lorg/apache/cassandra/locator/AbstractEndpointSnitch;
aload 0
getfield org.apache.cassandra.locator.AbstractEndpointSnitch$1.val$address:Ljava/net/InetAddress;
aload 1
aload 2
invokevirtual org.apache.cassandra.locator.AbstractEndpointSnitch.compareEndpoints:(Ljava/net/InetAddress;Ljava/net/InetAddress;Ljava/net/InetAddress;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/locator/AbstractEndpointSnitch$1;
0 1 1 a1 Ljava/net/InetAddress;
0 1 2 a2 Ljava/net/InetAddress;
MethodParameters:
Name Flags
a1
a2
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 java.net.InetAddress
aload 2
checkcast java.net.InetAddress
invokevirtual org.apache.cassandra.locator.AbstractEndpointSnitch$1.compare:(Ljava/net/InetAddress;Ljava/net/InetAddress;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/net/InetAddress;>;
SourceFile: "AbstractEndpointSnitch.java"
EnclosingMethod: org.apache.cassandra.locator.AbstractEndpointSnitch.sortByProximity:(Ljava/net/InetAddress;Ljava/util/List;)V
NestHost: org.apache.cassandra.locator.AbstractEndpointSnitch
InnerClasses:
org.apache.cassandra.locator.AbstractEndpointSnitch$1