public final class com.ctc.wstx.util.WordSet
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.util.WordSet
super_class: java.lang.Object
{
static final char CHAR_NULL;
descriptor: C
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int NEGATIVE_OFFSET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 49152
static final int MIN_BINARY_SEARCH;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7
final char[] mData;
descriptor: [C
flags: (0x0010) ACC_FINAL
private void <init>(char[]);
descriptor: ([C)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.ctc.wstx.util.WordSet this
start local 1 // char[] data
0: .line 65
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 66
aload 0 /* this */
aload 1 /* data */
putfield com.ctc.wstx.util.WordSet.mData:[C
2: .line 67
return
end local 1 // char[] data
end local 0 // com.ctc.wstx.util.WordSet this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/util/WordSet;
0 3 1 data [C
MethodParameters:
Name Flags
data
public static com.ctc.wstx.util.WordSet constructSet(java.util.TreeSet<java.lang.String>);
descriptor: (Ljava/util/TreeSet;)Lcom/ctc/wstx/util/WordSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 // java.util.TreeSet wordSet
0: .line 71
new com.ctc.wstx.util.WordSet
dup
new com.ctc.wstx.util.WordSet$Builder
dup
aload 0 /* wordSet */
invokespecial com.ctc.wstx.util.WordSet$Builder.<init>:(Ljava/util/TreeSet;)V
invokevirtual com.ctc.wstx.util.WordSet$Builder.construct:()[C
invokespecial com.ctc.wstx.util.WordSet.<init>:([C)V
areturn
end local 0 // java.util.TreeSet wordSet
LocalVariableTable:
Start End Slot Name Signature
0 1 0 wordSet Ljava/util/TreeSet<Ljava/lang/String;>;
Signature: (Ljava/util/TreeSet<Ljava/lang/String;>;)Lcom/ctc/wstx/util/WordSet;
MethodParameters:
Name Flags
wordSet
public static char[] constructRaw(java.util.TreeSet<java.lang.String>);
descriptor: (Ljava/util/TreeSet;)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 // java.util.TreeSet wordSet
0: .line 76
new com.ctc.wstx.util.WordSet$Builder
dup
aload 0 /* wordSet */
invokespecial com.ctc.wstx.util.WordSet$Builder.<init>:(Ljava/util/TreeSet;)V
invokevirtual com.ctc.wstx.util.WordSet$Builder.construct:()[C
areturn
end local 0 // java.util.TreeSet wordSet
LocalVariableTable:
Start End Slot Name Signature
0 1 0 wordSet Ljava/util/TreeSet<Ljava/lang/String;>;
Signature: (Ljava/util/TreeSet<Ljava/lang/String;>;)[C
MethodParameters:
Name Flags
wordSet
public boolean contains(char[], int, int);
descriptor: ([CII)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 // com.ctc.wstx.util.WordSet this
start local 1 // char[] buf
start local 2 // int start
start local 3 // int end
0: .line 86
aload 0 /* this */
getfield com.ctc.wstx.util.WordSet.mData:[C
aload 1 /* buf */
iload 2 /* start */
iload 3 /* end */
invokestatic com.ctc.wstx.util.WordSet.contains:([C[CII)Z
ireturn
end local 3 // int end
end local 2 // int start
end local 1 // char[] buf
end local 0 // com.ctc.wstx.util.WordSet this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/WordSet;
0 1 1 buf [C
0 1 2 start I
0 1 3 end I
MethodParameters:
Name Flags
buf
start
end
public static boolean contains(char[], char[], int, int);
descriptor: ([C[CII)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=13, args_size=4
start local 0 // char[] data
start local 1 // char[] str
start local 2 // int start
start local 3 // int end
0: .line 92
iconst_0
istore 4 /* ptr */
start local 4 // int ptr
1: .line 96
StackMap locals: int
StackMap stack:
iload 3 /* end */
iload 2 /* start */
isub
istore 5 /* left */
start local 5 // int left
2: .line 99
iload 5 /* left */
ifne 5
3: .line 100
aload 0 /* data */
iload 4 /* ptr */
iconst_1
iadd
caload
ifne 4
iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
5: .line 103
StackMap locals:
StackMap stack:
aload 0 /* data */
iload 4 /* ptr */
iinc 4 /* ptr */ 1
caload
istore 6 /* count */
start local 6 // int count
6: .line 106
iload 6 /* count */
ldc 49152
if_icmplt 16
7: .line 108
iload 6 /* count */
ldc 49152
isub
istore 7 /* expCount */
start local 7 // int expCount
8: .line 109
iload 5 /* left */
iload 7 /* expCount */
if_icmpeq 14
9: .line 110
iconst_0
ireturn
10: .line 113
StackMap locals: int int
StackMap stack:
aload 0 /* data */
iload 4 /* ptr */
caload
aload 1 /* str */
iload 2 /* start */
caload
if_icmpeq 12
11: .line 114
iconst_0
ireturn
12: .line 116
StackMap locals:
StackMap stack:
iinc 4 /* ptr */ 1
13: .line 117
iinc 2 /* start */ 1
14: .line 112
StackMap locals:
StackMap stack:
iload 2 /* start */
iload 3 /* end */
if_icmplt 10
15: .line 119
iconst_1
ireturn
end local 7 // int expCount
16: .line 123
StackMap locals:
StackMap stack:
aload 1 /* str */
iload 2 /* start */
iinc 2 /* start */ 1
caload
istore 7 /* c */
start local 7 // char c
17: .line 126
iload 6 /* count */
bipush 7
if_icmpge 32
18: .line 128
aload 0 /* data */
iload 4 /* ptr */
caload
iload 7 /* c */
if_icmpne 21
19: .line 129
aload 0 /* data */
iload 4 /* ptr */
iconst_1
iadd
caload
istore 4 /* ptr */
20: .line 130
goto 48
21: .line 132
StackMap locals: int
StackMap stack:
aload 0 /* data */
iload 4 /* ptr */
iconst_2
iadd
caload
iload 7 /* c */
if_icmpne 24
22: .line 133
aload 0 /* data */
iload 4 /* ptr */
iconst_3
iadd
caload
istore 4 /* ptr */
23: .line 134
goto 48
24: .line 136
StackMap locals:
StackMap stack:
iload 4 /* ptr */
iload 6 /* count */
iconst_1
ishl
iadd
istore 8 /* branchEnd */
start local 8 // int branchEnd
25: .line 138
iinc 4 /* ptr */ 4
goto 30
26: .line 139
StackMap locals: int
StackMap stack:
aload 0 /* data */
iload 4 /* ptr */
caload
iload 7 /* c */
if_icmpne 29
27: .line 140
aload 0 /* data */
iload 4 /* ptr */
iconst_1
iadd
caload
istore 4 /* ptr */
28: .line 141
goto 48
29: .line 138
StackMap locals:
StackMap stack:
iinc 4 /* ptr */ 2
StackMap locals:
StackMap stack:
30: iload 4 /* ptr */
iload 8 /* branchEnd */
if_icmplt 26
31: .line 144
iconst_0
ireturn
end local 8 // int branchEnd
32: .line 148
StackMap locals:
StackMap stack:
iconst_0
istore 8 /* low */
start local 8 // int low
33: .line 149
iload 6 /* count */
iconst_1
isub
istore 9 /* high */
start local 9 // int high
34: .line 152
goto 46
35: .line 153
StackMap locals: int int
StackMap stack:
iload 8 /* low */
iload 9 /* high */
iadd
iconst_1
ishr
istore 10 /* mid */
start local 10 // int mid
36: .line 154
iload 4 /* ptr */
iload 10 /* mid */
iconst_1
ishl
iadd
istore 11 /* ix */
start local 11 // int ix
37: .line 155
aload 0 /* data */
iload 11 /* ix */
caload
iload 7 /* c */
isub
istore 12 /* diff */
start local 12 // int diff
38: .line 156
iload 12 /* diff */
ifle 41
39: .line 157
iload 10 /* mid */
iconst_1
isub
istore 9 /* high */
40: .line 158
goto 46
StackMap locals: int int int
StackMap stack:
41: iload 12 /* diff */
ifge 44
42: .line 159
iload 10 /* mid */
iconst_1
iadd
istore 8 /* low */
43: .line 160
goto 46
44: .line 161
StackMap locals:
StackMap stack:
aload 0 /* data */
iload 11 /* ix */
iconst_1
iadd
caload
istore 4 /* ptr */
45: .line 162
goto 48
end local 12 // int diff
end local 11 // int ix
end local 10 // int mid
46: .line 152
StackMap locals:
StackMap stack:
iload 8 /* low */
iload 9 /* high */
if_icmple 35
end local 9 // int high
end local 8 // int low
47: .line 168
iconst_0
ireturn
end local 7 // char c
end local 6 // int count
end local 5 // int left
48: .line 170
StackMap locals: char[] char[] int int int
StackMap stack:
iload 4 /* ptr */
ifne 1
49: .line 173
iload 2 /* start */
iload 3 /* end */
if_icmpne 50
iconst_1
ireturn
StackMap locals:
StackMap stack:
50: iconst_0
ireturn
end local 4 // int ptr
end local 3 // int end
end local 2 // int start
end local 1 // char[] str
end local 0 // char[] data
LocalVariableTable:
Start End Slot Name Signature
0 51 0 data [C
0 51 1 str [C
0 51 2 start I
0 51 3 end I
1 51 4 ptr I
2 48 5 left I
6 48 6 count I
8 16 7 expCount I
17 48 7 c C
25 32 8 branchEnd I
33 47 8 low I
34 47 9 high I
36 46 10 mid I
37 46 11 ix I
38 46 12 diff I
MethodParameters:
Name Flags
data
str
start
end
public boolean contains(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.ctc.wstx.util.WordSet this
start local 1 // java.lang.String str
0: .line 177
aload 0 /* this */
getfield com.ctc.wstx.util.WordSet.mData:[C
aload 1 /* str */
invokestatic com.ctc.wstx.util.WordSet.contains:([CLjava/lang/String;)Z
ireturn
end local 1 // java.lang.String str
end local 0 // com.ctc.wstx.util.WordSet this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/WordSet;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static boolean contains(char[], java.lang.String);
descriptor: ([CLjava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=13, args_size=2
start local 0 // char[] data
start local 1 // java.lang.String str
0: .line 184
iconst_0
istore 2 /* ptr */
start local 2 // int ptr
1: .line 185
iconst_0
istore 3 /* start */
start local 3 // int start
2: .line 186
aload 1 /* str */
invokevirtual java.lang.String.length:()I
istore 4 /* end */
start local 4 // int end
3: .line 190
StackMap locals: int int int
StackMap stack:
iload 4 /* end */
iload 3 /* start */
isub
istore 5 /* left */
start local 5 // int left
4: .line 193
iload 5 /* left */
ifne 7
5: .line 194
aload 0 /* data */
iload 2 /* ptr */
iconst_1
iadd
caload
ifne 6
iconst_1
ireturn
StackMap locals: int
StackMap stack:
6: iconst_0
ireturn
7: .line 197
StackMap locals:
StackMap stack:
aload 0 /* data */
iload 2 /* ptr */
iinc 2 /* ptr */ 1
caload
istore 6 /* count */
start local 6 // int count
8: .line 200
iload 6 /* count */
ldc 49152
if_icmplt 18
9: .line 202
iload 6 /* count */
ldc 49152
isub
istore 7 /* expCount */
start local 7 // int expCount
10: .line 203
iload 5 /* left */
iload 7 /* expCount */
if_icmpeq 16
11: .line 204
iconst_0
ireturn
12: .line 207
StackMap locals: int int
StackMap stack:
aload 0 /* data */
iload 2 /* ptr */
caload
aload 1 /* str */
iload 3 /* start */
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 14
13: .line 208
iconst_0
ireturn
14: .line 210
StackMap locals:
StackMap stack:
iinc 2 /* ptr */ 1
15: .line 211
iinc 3 /* start */ 1
16: .line 206
StackMap locals:
StackMap stack:
iload 3 /* start */
iload 4 /* end */
if_icmplt 12
17: .line 213
iconst_1
ireturn
end local 7 // int expCount
18: .line 217
StackMap locals:
StackMap stack:
aload 1 /* str */
iload 3 /* start */
iinc 3 /* start */ 1
invokevirtual java.lang.String.charAt:(I)C
istore 7 /* c */
start local 7 // char c
19: .line 220
iload 6 /* count */
bipush 7
if_icmpge 34
20: .line 222
aload 0 /* data */
iload 2 /* ptr */
caload
iload 7 /* c */
if_icmpne 23
21: .line 223
aload 0 /* data */
iload 2 /* ptr */
iconst_1
iadd
caload
istore 2 /* ptr */
22: .line 224
goto 50
23: .line 226
StackMap locals: int
StackMap stack:
aload 0 /* data */
iload 2 /* ptr */
iconst_2
iadd
caload
iload 7 /* c */
if_icmpne 26
24: .line 227
aload 0 /* data */
iload 2 /* ptr */
iconst_3
iadd
caload
istore 2 /* ptr */
25: .line 228
goto 50
26: .line 230
StackMap locals:
StackMap stack:
iload 2 /* ptr */
iload 6 /* count */
iconst_1
ishl
iadd
istore 8 /* branchEnd */
start local 8 // int branchEnd
27: .line 232
iinc 2 /* ptr */ 4
goto 32
28: .line 233
StackMap locals: int
StackMap stack:
aload 0 /* data */
iload 2 /* ptr */
caload
iload 7 /* c */
if_icmpne 31
29: .line 234
aload 0 /* data */
iload 2 /* ptr */
iconst_1
iadd
caload
istore 2 /* ptr */
30: .line 235
goto 50
31: .line 232
StackMap locals:
StackMap stack:
iinc 2 /* ptr */ 2
StackMap locals:
StackMap stack:
32: iload 2 /* ptr */
iload 8 /* branchEnd */
if_icmplt 28
33: .line 238
iconst_0
ireturn
end local 8 // int branchEnd
34: .line 242
StackMap locals:
StackMap stack:
iconst_0
istore 8 /* low */
start local 8 // int low
35: .line 243
iload 6 /* count */
iconst_1
isub
istore 9 /* high */
start local 9 // int high
36: .line 246
goto 48
37: .line 247
StackMap locals: int int
StackMap stack:
iload 8 /* low */
iload 9 /* high */
iadd
iconst_1
ishr
istore 10 /* mid */
start local 10 // int mid
38: .line 248
iload 2 /* ptr */
iload 10 /* mid */
iconst_1
ishl
iadd
istore 11 /* ix */
start local 11 // int ix
39: .line 249
aload 0 /* data */
iload 11 /* ix */
caload
iload 7 /* c */
isub
istore 12 /* diff */
start local 12 // int diff
40: .line 250
iload 12 /* diff */
ifle 43
41: .line 251
iload 10 /* mid */
iconst_1
isub
istore 9 /* high */
42: .line 252
goto 48
StackMap locals: int int int
StackMap stack:
43: iload 12 /* diff */
ifge 46
44: .line 253
iload 10 /* mid */
iconst_1
iadd
istore 8 /* low */
45: .line 254
goto 48
46: .line 255
StackMap locals:
StackMap stack:
aload 0 /* data */
iload 11 /* ix */
iconst_1
iadd
caload
istore 2 /* ptr */
47: .line 256
goto 50
end local 12 // int diff
end local 11 // int ix
end local 10 // int mid
48: .line 246
StackMap locals:
StackMap stack:
iload 8 /* low */
iload 9 /* high */
if_icmple 37
end local 9 // int high
end local 8 // int low
49: .line 262
iconst_0
ireturn
end local 7 // char c
end local 6 // int count
end local 5 // int left
50: .line 264
StackMap locals: char[] java.lang.String int int int
StackMap stack:
iload 2 /* ptr */
ifne 3
51: .line 267
iload 3 /* start */
iload 4 /* end */
if_icmpne 52
iconst_1
ireturn
StackMap locals:
StackMap stack:
52: iconst_0
ireturn
end local 4 // int end
end local 3 // int start
end local 2 // int ptr
end local 1 // java.lang.String str
end local 0 // char[] data
LocalVariableTable:
Start End Slot Name Signature
0 53 0 data [C
0 53 1 str Ljava/lang/String;
1 53 2 ptr I
2 53 3 start I
3 53 4 end I
4 50 5 left I
8 50 6 count I
10 18 7 expCount I
19 50 7 c C
27 34 8 branchEnd I
35 49 8 low I
36 49 9 high I
38 48 10 mid I
39 48 11 ix I
40 48 12 diff I
MethodParameters:
Name Flags
data
str
}
SourceFile: "WordSet.java"
NestMembers:
com.ctc.wstx.util.WordSet$Builder
InnerClasses:
private final Builder = com.ctc.wstx.util.WordSet$Builder of com.ctc.wstx.util.WordSet