jtulach@576
|
1 |
|
jtulach@576
|
2 |
package org.apidesign.demo.anagramwithspringandlookup.staticwordlibrary;
|
jtulach@576
|
3 |
|
jtulach@576
|
4 |
import org.apidesign.demo.anagramwithspringandlookup.WordLibrary;
|
jtulach@576
|
5 |
import org.openide.util.lookup.ServiceProvider;
|
jtulach@576
|
6 |
|
jtulach@584
|
7 |
// BEGIN: anagramdemo.springlookup.wordlibrary
|
jtulach@576
|
8 |
@ServiceProvider(service=WordLibrary.class)
|
jtulach@576
|
9 |
public class StaticWordLibrary implements WordLibrary {
|
jtulach@584
|
10 |
// FINISH: anagramdemo.springlookup.wordlibrary
|
jtulach@576
|
11 |
private static String wordList[] = {
|
jtulach@576
|
12 |
"abstraction",
|
jtulach@576
|
13 |
"ambiguous",
|
jtulach@576
|
14 |
"arithmetic",
|
jtulach@576
|
15 |
"backslash",
|
jtulach@576
|
16 |
"bitmap",
|
jtulach@576
|
17 |
"circumstance",
|
jtulach@576
|
18 |
"combination",
|
jtulach@576
|
19 |
"consequently",
|
jtulach@576
|
20 |
"consortium",
|
jtulach@576
|
21 |
"decrementing",
|
jtulach@576
|
22 |
"dependency",
|
jtulach@576
|
23 |
"disambiguate",
|
jtulach@576
|
24 |
"dynamic",
|
jtulach@576
|
25 |
"encapsulation",
|
jtulach@576
|
26 |
"equivalent",
|
jtulach@576
|
27 |
"expression",
|
jtulach@576
|
28 |
"facilitate",
|
jtulach@576
|
29 |
"fragment",
|
jtulach@576
|
30 |
"hexadecimal",
|
jtulach@576
|
31 |
"implementation",
|
jtulach@576
|
32 |
"indistinguishable",
|
jtulach@576
|
33 |
"inheritance",
|
jtulach@576
|
34 |
"internet",
|
jtulach@576
|
35 |
"java",
|
jtulach@576
|
36 |
"localization",
|
jtulach@576
|
37 |
"microprocessor",
|
jtulach@576
|
38 |
"navigation",
|
jtulach@576
|
39 |
"optimization",
|
jtulach@576
|
40 |
"parameter",
|
jtulach@576
|
41 |
"patrick",
|
jtulach@576
|
42 |
"pickle",
|
jtulach@576
|
43 |
"polymorphic",
|
jtulach@576
|
44 |
"rigorously",
|
jtulach@576
|
45 |
"simultaneously",
|
jtulach@576
|
46 |
"specification",
|
jtulach@576
|
47 |
"structure",
|
jtulach@576
|
48 |
"lexical",
|
jtulach@576
|
49 |
"likewise",
|
jtulach@576
|
50 |
"management",
|
jtulach@576
|
51 |
"manipulate",
|
jtulach@576
|
52 |
"mathematics",
|
jtulach@576
|
53 |
"hotjava",
|
jtulach@576
|
54 |
"vertex",
|
jtulach@576
|
55 |
"unsigned",
|
jtulach@576
|
56 |
"traditional"};
|
jtulach@576
|
57 |
|
jtulach@576
|
58 |
public String[] getWords() {
|
jtulach@576
|
59 |
return wordList;
|
jtulach@576
|
60 |
}
|
jtulach@576
|
61 |
}
|