author | pli |
Tue, 16 Jul 2019 00:57:00 +0000 | |
changeset 55689 | 8c5c9d86e1d6 |
parent 50272 | dd2867f9e671 |
permissions | -rw-r--r-- |
50272
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
1 |
/* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
2 |
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
4 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
8 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
13 |
* accompanied this code). |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
14 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
18 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
21 |
* questions. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
22 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
23 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
24 |
/* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
25 |
* @test |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
26 |
* @bug 8201518 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
27 |
* @key randomness |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
28 |
* @summary Ensure that randomized iteration order of unmodifiable sets |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
29 |
* and maps is actually randomized. Must be run othervm so that |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
30 |
* the per-VM-instance salt value differs. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
31 |
* @run main/othervm RandomizedIteration 0 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
32 |
* @run main/othervm RandomizedIteration 1 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
33 |
* @run main/othervm RandomizedIteration 2 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
34 |
* @run main/othervm RandomizedIteration 3 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
35 |
* @run main/othervm RandomizedIteration 4 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
36 |
* @run main/othervm RandomizedIteration verify 5 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
37 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
38 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
39 |
import java.io.IOException; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
40 |
import java.io.PrintStream; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
41 |
import java.nio.file.Files; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
42 |
import java.nio.file.Paths; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
43 |
import java.util.Arrays; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
44 |
import java.util.HashSet; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
45 |
import java.util.Map; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
46 |
import java.util.Set; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
47 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
48 |
import static java.util.stream.Collectors.toUnmodifiableMap; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
49 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
50 |
/** |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
51 |
* Test of randomized iteration of unmodifiable sets and maps. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
52 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
53 |
* Usage: RandomizedIteration n |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
54 |
* - writes files suffixed with 'n' containing set elements and map keys |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
55 |
* in iteration order |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
56 |
* RandomizedIteration "verify" count |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
57 |
* - reads files 0..count-1 and checks to ensure that their orders differ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
58 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
59 |
* The idea is to generate several test files by invoking this test with an arg |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
60 |
* of 0 through count-1. Then invoke the test once more with two args, the first being |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
61 |
* the word "verify" and the second arg being the count. This will read all the generated |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
62 |
* files and perform verification. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
63 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
64 |
* The test is considered to pass if any of the runs result in different iteration |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
65 |
* orders. The randomization is not actually very random, so over many runs there is |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
66 |
* the possibility of a couple of the test files having the same order. That's ok, as |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
67 |
* long as the iteration order is usually different. The test fails if *all* of the |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
68 |
* iteration orders are the same. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
69 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
70 |
public class RandomizedIteration { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
71 |
/** |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
72 |
* Generates a set and a map from the word array, and then writes |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
73 |
* text files "set.#" and "map.#" containing the set elements and |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
74 |
* map keys in iteration order. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
75 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
76 |
* @param suffix number used for the file suffix |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
77 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
78 |
static void writeFiles(int suffix) throws IOException { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
79 |
try (PrintStream setOut = new PrintStream("set." + suffix)) { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
80 |
Set.of(WORDS) |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
81 |
.forEach(setOut::println); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
82 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
83 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
84 |
try (PrintStream mapOut = new PrintStream("map." + suffix)) { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
85 |
var map = Map.ofEntries(Arrays.stream(WORDS) |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
86 |
.map(word -> Map.entry(word, "")) |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
87 |
.toArray(Map.Entry<?, ?>[]::new)); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
88 |
map.keySet() |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
89 |
.forEach(mapOut::println); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
90 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
91 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
92 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
93 |
/** |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
94 |
* Reads lines from each file derived from the prefix and index from 0..count-1 |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
95 |
* into a list, computes its hashcode, and returns a set of those hashcodes. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
96 |
* The hashcode of the list is order sensitive, so the same lines in a different |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
97 |
* order should have different hashcodes. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
98 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
99 |
* @param prefix the file prefix |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
100 |
* @param count the number of files to read |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
101 |
* @return a set of hashcodes of each file |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
102 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
103 |
static Set<Integer> readFiles(String prefix, int count) throws IOException { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
104 |
Set<Integer> hashes = new HashSet<>(); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
105 |
for (int suffix = 0; suffix < count; suffix++) { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
106 |
String name = prefix + suffix; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
107 |
int hash = Files.readAllLines(Paths.get(name)).hashCode(); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
108 |
System.out.println(name + ": " + hash); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
109 |
hashes.add(hash); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
110 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
111 |
return hashes; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
112 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
113 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
114 |
/** |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
115 |
* Test main routine. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
116 |
* |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
117 |
* @param args n | "verify" count |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
118 |
* @throws IOException if an error occurred |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
119 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
120 |
public static void main(String[] args) throws IOException { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
121 |
if ("verify".equals(args[0])) { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
122 |
int count = Integer.parseInt(args[1]); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
123 |
System.out.println("Verifying " + count + " files."); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
124 |
Set<Integer> setHashes = readFiles("set.", count); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
125 |
Set<Integer> mapHashes = readFiles("map.", count); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
126 |
if (setHashes.size() > 1 && mapHashes.size() > 1) { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
127 |
System.out.println("Passed: differing iteration orders were detected."); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
128 |
} else { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
129 |
throw new AssertionError("FAILED: iteration order not randomized!"); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
130 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
131 |
} else { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
132 |
int suffix = Integer.parseInt(args[0]); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
133 |
System.out.println("Generating files: " + suffix); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
134 |
writeFiles(suffix); |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
135 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
136 |
} |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
137 |
|
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
138 |
/** |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
139 |
* List of 63 words of 22 or more letters from BSD /usr/share/dict/words. |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
140 |
*/ |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
141 |
static final String[] WORDS = { |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
142 |
"anatomicophysiological", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
143 |
"anthropomorphologically", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
144 |
"aquopentamminecobaltic", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
145 |
"blepharoconjunctivitis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
146 |
"blepharosphincterectomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
147 |
"cholecystenterorrhaphy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
148 |
"cholecystoduodenostomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
149 |
"choledochoduodenostomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
150 |
"counterexcommunication", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
151 |
"dacryocystoblennorrhea", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
152 |
"dacryocystosyringotomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
153 |
"deanthropomorphization", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
154 |
"duodenocholecystostomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
155 |
"electroencephalography", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
156 |
"electrotelethermometer", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
157 |
"epididymodeferentectomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
158 |
"formaldehydesulphoxylate", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
159 |
"formaldehydesulphoxylic", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
160 |
"gastroenteroanastomosis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
161 |
"hematospectrophotometer", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
162 |
"hexamethylenetetramine", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
163 |
"hexanitrodiphenylamine", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
164 |
"historicocabbalistical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
165 |
"hydropneumopericardium", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
166 |
"hyperconscientiousness", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
167 |
"laparocolpohysterotomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
168 |
"lymphangioendothelioma", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
169 |
"macracanthrorhynchiasis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
170 |
"microcryptocrystalline", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
171 |
"naphthylaminesulphonic", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
172 |
"nonrepresentationalism", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
173 |
"omnirepresentativeness", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
174 |
"pancreaticoduodenostomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
175 |
"pancreaticogastrostomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
176 |
"pathologicohistological", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
177 |
"pathologicopsychological", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
178 |
"pericardiomediastinitis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
179 |
"phenolsulphonephthalein", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
180 |
"philosophicohistorical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
181 |
"philosophicotheological", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
182 |
"photochronographically", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
183 |
"photospectroheliograph", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
184 |
"pneumohydropericardium", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
185 |
"pneumoventriculography", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
186 |
"polioencephalomyelitis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
187 |
"Prorhipidoglossomorpha", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
188 |
"Pseudolamellibranchiata", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
189 |
"pseudolamellibranchiate", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
190 |
"pseudomonocotyledonous", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
191 |
"pyopneumocholecystitis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
192 |
"scientificogeographical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
193 |
"scientificophilosophical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
194 |
"scleroticochorioiditis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
195 |
"stereophotomicrography", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
196 |
"tetraiodophenolphthalein", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
197 |
"theologicoastronomical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
198 |
"theologicometaphysical", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
199 |
"thymolsulphonephthalein", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
200 |
"thyroparathyroidectomize", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
201 |
"thyroparathyroidectomy", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
202 |
"transubstantiationalist", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
203 |
"ureterocystanastomosis", |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
204 |
"zoologicoarchaeologist" |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
205 |
}; |
dd2867f9e671
8201518: add test for randomized iteration order of unmodifiable Set and Map
smarks
parents:
diff
changeset
|
206 |
} |