Home
last modified time | relevance | path

Searched refs:foos (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/util/WeakHashMap/
DGCDuringIteration.java136 final Foo[] foos = new Foo[2*n]; in test() local
137 final Map<Foo,Integer> map = new WeakHashMap<>(foos.length); in test()
141 for (int i = 0; i < foos.length; i++) { in test()
143 foos[i] = foo; in test()
146 equal(map.size(), foos.length); in test()
151 foos[first] = null; in test()
164 foos[first] = null; in test()
179 foos[first] = foos[first-1] = null; in test()
196 foos[first] = foos[first-1] = null; in test()
213 foos[first] = foos[first-1] = null; in test()
[all …]
/libcore/ojluni/src/test/java/util/Collections/
DNCopies.java146 List<String> foos = Collections.nCopies(42, "foo");
147 check(foos.size() == 42);
148 checkFoos(foos.subList(foos.size()/2, foos.size()-1));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java1882 EnumFoo[] foos = {EnumFoo.a, EnumFoo.c, EnumFoo.d}; in test_Of_EEArray() local
1883 EnumSet<EnumFoo> set = EnumSet.of(EnumFoo.c, foos); in test_Of_EEArray()