class com.sun.jndi.ldap.ServiceLocator$SrvRecord implements java.lang.Comparable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.jndi.ldap.ServiceLocator$SrvRecord
super_class: java.lang.Object
{
int priority;
descriptor: I
flags: (0x0000)
int weight;
descriptor: I
flags: (0x0000)
int sum;
descriptor: I
flags: (0x0000)
java.lang.String hostport;
descriptor: Ljava/lang/String;
flags: (0x0000)
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 // com.sun.jndi.ldap.ServiceLocator$SrvRecord this
start local 1 // java.lang.String srvRecord
0: .line 269
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 270
new java.util.StringTokenizer
dup
aload 1 /* srvRecord */
ldc " "
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2 /* tokenizer */
start local 2 // java.util.StringTokenizer tokenizer
2: .line 273
aload 2 /* tokenizer */
invokevirtual java.util.StringTokenizer.countTokens:()I
iconst_4
if_icmpne 8
3: .line 274
aload 0 /* this */
aload 2 /* tokenizer */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.priority:I
4: .line 275
aload 0 /* this */
aload 2 /* tokenizer */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.weight:I
5: .line 276
aload 2 /* tokenizer */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3 /* port */
start local 3 // java.lang.String port
6: .line 277
aload 0 /* this */
new java.lang.StringBuilder
dup
aload 2 /* tokenizer */
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3 /* port */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.hostport:Ljava/lang/String;
7: .line 278
goto 9
end local 3 // java.lang.String port
8: .line 279
StackMap locals: com.sun.jndi.ldap.ServiceLocator$SrvRecord java.lang.String java.util.StringTokenizer
StackMap stack:
new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
start local 3 // java.lang.String port
9: .line 281
StackMap locals: java.lang.String
StackMap stack:
return
end local 3 // java.lang.String port
end local 2 // java.util.StringTokenizer tokenizer
end local 1 // java.lang.String srvRecord
end local 0 // com.sun.jndi.ldap.ServiceLocator$SrvRecord this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/ldap/ServiceLocator$SrvRecord;
0 10 1 srvRecord Ljava/lang/String;
2 10 2 tokenizer Ljava/util/StringTokenizer;
6 8 3 port Ljava/lang/String;
9 10 3 port Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
srvRecord
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 // com.sun.jndi.ldap.ServiceLocator$SrvRecord this
start local 1 // java.lang.Object o
0: .line 288
aload 1 /* o */
checkcast com.sun.jndi.ldap.ServiceLocator$SrvRecord
astore 2 /* that */
start local 2 // com.sun.jndi.ldap.ServiceLocator$SrvRecord that
1: .line 289
aload 0 /* this */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.priority:I
aload 2 /* that */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.priority:I
if_icmple 3
2: .line 290
iconst_1
ireturn
3: .line 291
StackMap locals: com.sun.jndi.ldap.ServiceLocator$SrvRecord
StackMap stack:
aload 0 /* this */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.priority:I
aload 2 /* that */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.priority:I
if_icmpge 5
4: .line 292
iconst_m1
ireturn
5: .line 293
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.weight:I
ifne 7
aload 2 /* that */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.weight:I
ifeq 7
6: .line 294
iconst_m1
ireturn
7: .line 295
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.weight:I
ifeq 9
aload 2 /* that */
getfield com.sun.jndi.ldap.ServiceLocator$SrvRecord.weight:I
ifne 9
8: .line 296
iconst_1
ireturn
9: .line 298
StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 // com.sun.jndi.ldap.ServiceLocator$SrvRecord that
end local 1 // java.lang.Object o
end local 0 // com.sun.jndi.ldap.ServiceLocator$SrvRecord this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/ldap/ServiceLocator$SrvRecord;
0 10 1 o Ljava/lang/Object;
1 10 2 that Lcom/sun/jndi/ldap/ServiceLocator$SrvRecord;
MethodParameters:
Name Flags
o
}
SourceFile: "ServiceLocator.java"
NestHost: com.sun.jndi.ldap.ServiceLocator
InnerClasses:
SrvRecord = com.sun.jndi.ldap.ServiceLocator$SrvRecord of com.sun.jndi.ldap.ServiceLocator