Searched refs:set2 (Results 1 – 4 of 4) sorted by relevance
/libcore/support/src/test/java/tests/support/ |
D | Support_MapTest.java | 130 private static <T> void crossCheckOrdering(Set<T> set1, Set<T> set2, Class<?> elementType) { in crossCheckOrdering() argument 132 Iterator<T> set2Iterator = set2.iterator(); in crossCheckOrdering() 169 T[] set2TypedArray1 = set2.toArray(zeroLengthArray); in crossCheckOrdering() 174 T[] parameterArray2 = createArray(elementType, set2.size()); in crossCheckOrdering() 180 Object[] set2UntypedArray = set2.toArray(); in crossCheckOrdering()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentHashMap8Test.java | 215 Set set2 = map.keySet(true); in testKeySetAddRemove() local 216 set2.add(six); in testKeySetAddRemove() 217 assertTrue(((ConcurrentHashMap.KeySetView)set2).getMap() == map); in testKeySetAddRemove() 219 assertEquals(set2.size(), map.size()); in testKeySetAddRemove() 223 assertTrue(set2.contains(six)); in testKeySetAddRemove() 224 set2.remove(six); in testKeySetAddRemove() 227 assertFalse(set2.contains(six)); in testKeySetAddRemove()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_NativeConverter.cpp | 595 icu::UnicodeSet set2; in NativeConverter_contains() local 596 ucnv_getUnicodeSet(&*converter2, set2.toUSet(), UCNV_ROUNDTRIP_SET, &errorCode); in NativeConverter_contains() 598 return U_SUCCESS(errorCode) && set1.containsAll(set2); in NativeConverter_contains()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CollectionsTest.java | 2344 private static <T> void crossCheckOrdering(Set<T> set1, Set<T> set2, Class<?> elementType) { in crossCheckOrdering() argument 2346 Iterator<T> set2Iterator = set2.iterator(); in crossCheckOrdering() 2383 T[] set2TypedArray1 = set2.toArray(zeroLengthArray); in crossCheckOrdering() 2388 T[] parameterArray2 = createArray(elementType, set2.size()); in crossCheckOrdering() 2394 Object[] set2UntypedArray = set2.toArray(); in crossCheckOrdering()
|