HomeSort by relevance Sort by last modified time
    Searched full:keyset (Results 76 - 100 of 3108) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MapInterfaceTest.java 180 Set<K> keySet = map.keySet();
185 assertEquals(map.size(), keySet.size());
186 assertEquals(keySet.size() == 0, keySet.isEmpty());
187 assertEquals(!keySet.isEmpty(), keySet.iterator().hasNext());
190 for (K key : keySet) {
200 assertEquals(expectedKeySetHash, keySet.hashCode());
309 assertTrue(map.containsKey(map.keySet().iterator().next()))
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedSetMultimapAsMapTester.java 46 for (K key : multimap().keySet()) {
54 List<K> keys = new ArrayList<K>(multimap().keySet());
BiMapRemoveTester.java 49 getMap().keySet().remove(samples.e0.getKey());
73 getMap().inverse().keySet().remove(samples.e0.getValue());
89 Iterator<K> iterator = getMap().keySet().iterator();
  /libcore/support/src/test/java/tests/support/
Support_MapTest2.java 44 assertTrue("Should not have keys", !map.keySet().iterator()
58 assertTrue("Should not have keys", !map.keySet().iterator()
  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedMapTest.java 106 @Override public Set<K> keySet() {
108 return super.keySet();
184 Set<String> keySet = map.keySet();
185 assertTrue(keySet instanceof SynchronizedSet);
186 assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex);
  /packages/services/Car/service/src/com/android/car/
CarCameraService.java 93 Set<Integer> keySet;
95 keySet = mDeviceMap.keySet();
98 int keySetSize = keySet.size();
101 int[] keyArray = new int[keySet.size()];
103 for (Integer key : keySet) {
  /libcore/jsr166-tests/src/test/java/jsr166/
TreeSubMapTest.java 157 * keySet returns a Set containing all the keys
161 Set s = map.keySet();
171 * keySet is ordered
175 Set s = map.keySet();
468 Iterator i = sm.keySet().iterator();
475 Iterator j = sm.keySet().iterator();
499 Iterator i = sm.keySet().iterator();
504 Iterator j = sm.keySet().iterator();
526 Iterator i = sm.keySet().iterator();
552 Iterator i = sm.keySet().iterator()
    [all...]
ConcurrentHashMap8Test.java 209 * keySet.add adds the key with the established value to the map;
214 Set set1 = map.keySet();
215 Set set2 = map.keySet(true);
231 * keySet.addAll adds each element from the given collection
242 * keySet.addAll adds each element from the given collection that did not
255 * keySet.add will not add the element if it already exists in the set
264 * keySet.add adds the element when it does not exist in the set
275 * keySet.add throws UnsupportedOperationException if no default
279 Set full = map5().keySet();
287 * keySet.add throws NullPointerException if the specified key i
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
KeySetManagerServiceTest.java 109 * Add the keyset information for a package to a system w/no previous keysets
135 * upgrade an app (same packagename) with same keyset and verify that
165 * upgrade an app (same packagename) with different unique keyset and verify
200 * upgrade an app (same packagename) with different keyset and verify
243 * Add orthoganal keyset info to system and ensure previous keysets are
288 * Add identical keyset info to system via new package and ensure previous
321 * add a package which is signed by a keyset which contains a previously seen
363 * Upgrade an app (same pkgName) with different keyset which contains a public
364 * key from the previous keyset. Verify old keyset removed and pub key re
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
HashtableTest.java 131 hashTable.put(hashTable, hashTable.keySet());
462 * java.util.Hashtable#keySet()
465 // Test for method java.util.Set java.util.Hashtable.keySet()
466 Set s = ht10.keySet();
482 Iterator it = map.keySet().iterator();
493 assertTrue("Wrong contents", map.keySet().iterator().next().equals(
499 Iterator it2 = map2.keySet().iterator();
510 assertTrue("Wrong contents 2", map2.keySet().iterator().next().equals(
515 * java.util.Hashtable#keySet()
518 Set s1 = ht10.keySet();
    [all...]
LinkedHashMapTest.java 253 * java.util.LinkedHashMap#keySet()
256 // Test for method java.util.Set java.util.LinkedHashMap.keySet()
257 Set s = hm.keySet();
265 assertTrue("Failed with null key", m.keySet().contains(null));
266 assertNull("Failed with null key", m.keySet().iterator().next());
272 Iterator it = map.keySet().iterator();
284 assertTrue("Wrong contents", map.keySet().iterator().next().equals(
290 Iterator it2 = map2.keySet().iterator();
301 assertTrue("Wrong contents 2", map2.keySet().iterator().next().equals(
379 // get the keySet() and values() on the original Ma
    [all...]
  /external/guava/guava/src/com/google/common/collect/
AbstractBiMap.java 178 private transient Set<K> keySet;
180 @Override public Set<K> keySet() {
181 Set<K> result = keySet;
182 return (result == null) ? keySet = new KeySet() : result;
185 private class KeySet extends ForwardingSet<K> {
187 return delegate.keySet();
219 * We can almost reuse the inverse's keySet, except we have to fix the
227 final Set<V> valuesDelegate = inverse.keySet();
AbstractMultimap.java 145 private transient Set<K> keySet;
148 public Set<K> keySet() {
149 Set<K> result = keySet;
150 return (result == null) ? keySet = createKeySet() : result;
154 return new Maps.KeySet<K, Collection<V>>(asMap());
StandardRowSortedTable.java 73 return (SortedSet<R>) rowMap().keySet();
93 public SortedSet<R> keySet() {
94 return (SortedSet<R>) super.keySet();
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
AbstractBiMap.java 174 private transient Set<K> keySet;
176 @Override public Set<K> keySet() {
177 Set<K> result = keySet;
178 return (result == null) ? keySet = new KeySet() : result;
181 private class KeySet extends ForwardingSet<K> {
183 return delegate.keySet();
215 * We can almost reuse the inverse's keySet, except we have to fix the
223 final Set<V> valuesDelegate = inverse.keySet();
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
BeanMap.java 214 return keySet().contains(key);
218 for (Iterator it = keySet().iterator(); it.hasNext();) {
227 return keySet().size();
239 for (Iterator it = t.keySet().iterator(); it.hasNext();) {
253 for (Iterator it = keySet().iterator(); it.hasNext();) {
269 for (Iterator it = keySet().iterator(); it.hasNext();) {
281 for (Iterator it = keySet().iterator(); it.hasNext();) {
289 Set keys = keySet();
304 for (Iterator it = keySet().iterator(); it.hasNext();) {
  /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/
ZipMultiReportOutputTest.java 59 assertEquals(Collections.singleton("a.txt"), entries.keySet());
74 assertEquals(Collections.singleton("b.txt"), entries.keySet());
89 assertEquals(Collections.singleton("b.txt"), entries.keySet());
112 "readme.txt")), entries.keySet());
134 "readme.txt")), entries.keySet());
  /frameworks/base/tests/CoreTests/android/core/
NsdServiceInfoTest.java 120 assertTrue(attributedInfo.getAttributes().keySet().contains("adorable"));
125 assertFalse(attributedInfo.getAttributes().keySet().contains("sticky"));
150 assertEquality(originalMap.keySet(), resultMap.keySet());
151 for (String key : originalMap.keySet()) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
EmojiAltPhysicalKeyDetector.java 52 public EmojiHotKeys(final String name, HotKeySet keySet) {
54 mKeySet = keySet;
187 final HotKeySet keySet = new HotKeySet();
200 keySet.add(key);
205 return keySet;
  /external/autotest/client/cros/cellular/pseudomodem/
sms.py 69 keyset = set(params)
70 if not keyset.issubset(cls._settable_props):
72 'Properties: ' + repr(keyset.difference(params)) + ' are '
  /external/jetty/src/java/org/eclipse/jetty/util/log/jmx/
LogMBean.java 40 List<String> keySet = new ArrayList<String>(Log.getLoggers().keySet());
41 return keySet;
  /external/nist-sip/java/gov/nist/core/
MultiValueMapImpl.java 121 public Set<String> keySet() {
122 return this.map.keySet();
148 for (String k : mapToPut.keySet()) {
NameValueList.java 155 Iterator<String> li = this.hmap.keySet().iterator();
254 return this.hmap.keySet().iterator();
316 * @see java.util.Map#keySet()
318 public Set<String> keySet() {
319 return this.hmap.keySet();
352 return this.hmap.keySet().hashCode();
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
TestPackageRepo.java 191 for (String abi : mTestMap.keySet()) {
208 for (String abi : mTestMap.keySet()) {
227 for (String abi : mTestMap.keySet()) {
229 for (String packageName : testNameMap.keySet()) {
245 for (String abi : mTestMap.keySet()) {
246 for (String name : mTestMap.get(abi).keySet()) {
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
LinkedHashMultimapTest.java 95 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder();
123 assertThat(multimap.keySet()).has().exactly("foo", "bar", "cow").inOrder();
125 assertThat(multimap.keySet()).has().exactly("bar", "cow").inOrder();
127 assertThat(multimap.keySet()).has().exactly("bar", "cow").inOrder();
129 assertThat(multimap.keySet()).has().item("cow");
131 assertThat(multimap.keySet()).has().exactly("cow", "bar").inOrder();

Completed in 844 milliseconds

1 2 34 5 6 7 8 91011>>