Searched refs:maybe (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/util/NavigableMap/
H A DLockStep.java51 static boolean maybe(int n) { return rnd.nextInt(n) == 0; } method in class:LockStep
68 if (maybe(4)) m1 = serialClone(m1);
69 if (maybe(4)) m2 = serialClone(m2);
89 if (maybe(4)) s1 = serialClone(s1);
90 if (maybe(4)) s2 = serialClone(s2);
187 if (maybe(2))
211 if (maybe(4) && s instanceof Serializable)
244 if (maybe(4))
262 if (maybe(2))
272 if (maybe(
[all...]
/openjdk7/jdk/test/java/util/List/
H A DLockStep.java45 boolean maybe(int n) { return rnd.nextInt(n) == 0; } method in class:LockStep
72 if (maybe(4)) lists[i] = serialClone(lists[i]);

Completed in 33 milliseconds