/external/apache-harmony/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 86 // keySet 87 Set<?> keySet = map.keySet(); 88 t_KeySet(keySet); 100 void t_KeySet(Set<?> keySet) { 101 // keySet should be a set of the strings "0" to "99" 105 keySet.contains("0")); 107 keySet.contains("50")); 110 !keySet.contains("100")); 119 keySet.containsAll(hs)) [all...] |
Support_MapTest2.java | 44 assertTrue("Should not have keys", !map.keySet().iterator() 58 assertTrue("Should not have keys", !map.keySet().iterator()
|
/libcore/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 86 // keySet 87 Set<?> keySet = map.keySet(); 88 t_KeySet(keySet); 100 void t_KeySet(Set<?> keySet) { 101 // keySet should be a set of the strings "0" to "99" 105 keySet.contains("0")); 107 keySet.contains("50")); 110 !keySet.contains("100")); 119 keySet.containsAll(hs)) [all...] |
Support_MapTest2.java | 44 assertTrue("Should not have keys", !map.keySet().iterator() 58 assertTrue("Should not have keys", !map.keySet().iterator()
|
/external/stlport/test/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/ndk/tests/device/test-stlport/unit/ |
set_test.cpp | 396 typedef set<Key, KeyCmp> KeySet; 397 KeySet keySet; 398 keySet.insert(Key(1)); 399 keySet.insert(Key(2)); 400 keySet.insert(Key(3)); 401 keySet.insert(Key(4)); 403 CPPUNIT_ASSERT( keySet.count(Key(1)) == 1 ); 404 CPPUNIT_ASSERT( keySet.count(1) == 1 ); 405 CPPUNIT_ASSERT( keySet.count(5) == 0 ) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheEvictionTest.java | 171 Set<Integer> keySet = cache.asMap().keySet(); 172 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); 177 ASSERT.that(keySet).hasContentsAnyOrder(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); 182 ASSERT.that(keySet).hasContentsAnyOrder(6, 7, 8, 9, 0, 1, 2, 10, 11, 12); 187 ASSERT.that(keySet).hasContentsAnyOrder(9, 0, 1, 2, 10, 11, 12, 6, 7, 8); 192 ASSERT.that(keySet).hasContentsAnyOrder(2, 10, 11, 12, 6, 7, 8, 13, 14, 15); 204 Set<Integer> keySet = cache.asMap().keySet(); 205 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9) [all...] |
CacheExpirationTest.java | 143 assertEquals(1, Iterators.size(cache.asMap().keySet().iterator())); 262 Set<Integer> keySet = cache.asMap().keySet(); 263 ASSERT.that(keySet).hasContentsAnyOrder(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); 267 ASSERT.that(keySet).hasContentsAnyOrder(1, 2, 3, 4, 5, 6, 7, 8, 9); 273 ASSERT.that(keySet).hasContentsAnyOrder(3, 4, 5, 6, 7, 8, 9, 0, 1, 2); 277 ASSERT.that(keySet).hasContentsAnyOrder(4, 5, 6, 7, 8, 9, 0, 1, 2); 282 ASSERT.that(keySet).hasContentsAnyOrder(4, 6, 8, 0, 1, 2, 5, 7, 9); 286 ASSERT.that(keySet).hasContentsAnyOrder(6, 8, 0, 1, 2, 5, 7, 9); 288 ASSERT.that(keySet).hasContentsAnyOrder(6, 8, 0, 1, 2, 5, 7, 9) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapExtendTest.java | 141 assertEquals(tm.keySet(), treeMap.keySet()); 160 assertEquals(subMap_default.keySet(), treeMap.keySet()); [all...] |
AbstractMapTest.java | 74 * @tests java.util.AbstractMap#keySet() 78 assertSame("HashMap(0)", map1.keySet(), map1.keySet()); 81 assertSame("HashMap(10)", map2.keySet(), map2.keySet()); 84 assertSame("EMPTY_MAP", map3.keySet(), map3.keySet()); 87 assertSame("IdentityHashMap", map4.keySet(), map4.keySet()); 90 assertSame("LinkedHashMap", map5.keySet(), map5.keySet()) [all...] |
ResourceBundleTest.java | 410 assertEquals(6, bundle.keySet().size()); 454 assertEquals(6, bundle.keySet().size()); 518 assertEquals(6, bundle.keySet().size()); 527 assertEquals(6, bundle.keySet().size()); 536 assertEquals(4, bundle.keySet().size()); 547 assertEquals(4, bundle.keySet().size()); 559 assertEquals(5, bundle.keySet().size()); 568 assertEquals(6, bundle.keySet().size()); 579 assertEquals(2, bundle.keySet().size()); 587 assertEquals(2, bundle.keySet().size()) [all...] |
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 95 map.keySet().toArray()); 97 filesFound.keySet().toArray()); 115 found.keySet().toArray()); 133 found.keySet().toArray()); 142 found.keySet().toArray()); 152 found.keySet().toArray()); 161 found.keySet().toArray()); 173 found.keySet().toArray()); 175 for (String key : found.keySet()) { 199 found.keySet().toArray()) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldLinkedHashMapTest.java | 35 Iterator iterator = map.keySet().iterator(); 51 iterator = map.keySet().iterator();
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
DoubleKeyMap.java | 42 public Set<Key1> keySet() { 43 return data.keySet(); 47 public Set<Key2> keySet(Key1 k1) { 50 return data2.keySet();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeMultimapExplicitTest.java | 99 ASSERT.that(tree.keySet()).hasContentsInOrder("tree", "google"); 104 ASSERT.that(copy.keySet()).hasContentsInOrder("google", "tree"); 131 ASSERT.that(multimap.keySet()).hasContentsInOrder(null, "tree", "google"); 184 SortedSet<String> keySet = multimap.keySet(); 186 assertEquals(null, keySet.first()); 187 assertEquals("google", keySet.last()); 188 assertEquals(StringLength.COMPARATOR, keySet.comparator()); 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo")); 190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo")) [all...] |
SortedIterablesTest.java | 56 // Before JDK6 (including under GWT), the TreeMap keySet is a plain Set. 57 if (Maps.newTreeMap().keySet() instanceof SortedSet) { 59 SortedIterables.hasSameComparator(Ordering.natural(), Maps.newTreeMap().keySet()));
|
/libcore/luni/src/main/java/java/util/ |
ListResourceBundle.java | 52 Iterator<String> local = table.keySet().iterator(); 94 Iterator<String> it = table.keySet().iterator(); 137 return table.keySet();
|
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractMapTest.java | 74 * java.util.AbstractMap#keySet() 78 assertSame("HashMap(0)", map1.keySet(), map1.keySet()); 81 assertSame("HashMap(10)", map2.keySet(), map2.keySet()); 84 assertSame("EMPTY_MAP", map3.keySet(), map3.keySet()); 87 assertSame("IdentityHashMap", map4.keySet(), map4.keySet()); 90 assertSame("LinkedHashMap", map5.keySet(), map5.keySet()) [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/ |
ExchangeServiceAccountTests.java | 69 assertEquals(4, errorMap.keySet().size()); 74 assertEquals(2, errorMap.keySet().size()); 83 assertEquals(4, errorMap.keySet().size()); 88 assertEquals(1, errorMap.keySet().size()); 96 assertEquals(1, errorMap.keySet().size()); 102 assertEquals(0, errorMap.keySet().size());
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 106 public static HashSet<object> keySet(IDictionary map) { 111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { 117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) { 122 public static HashSet<object> keySet<TKey, TValue>(SortedList<TKey, TValue> map) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
DictionaryExtensions.cs | 111 public static HashSet<object> keySet( this IDictionary map ) 117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) 124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map ) 130 public static HashSet<object> keySet<TKey, TValue>( this SortedList<TKey, TValue> map )
|
/external/smack/src/com/kenai/jbosh/ |
AbstractBody.java | 61 return Collections.unmodifiableSet(attrs.keySet());
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockSuggestionExtras.java | 46 return mMap.keySet();
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/ |
StatusTracker.java | 78 public Set<String> keySet() { 79 return mStatusMap.keySet();
|