/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetNavigationTester.java | 175 assertEquals(Arrays.asList(b, c), copyToList(sortedMultiset.entrySet())); 229 assertEquals(Arrays.asList(a, b), copyToList(sortedMultiset.entrySet())); 244 Iterators.addAll(ascending, sortedMultiset.entrySet().iterator()); 246 Iterators.addAll(descending, sortedMultiset.descendingMultiset().entrySet().iterator()); 442 assertTrue(multiset.entrySet().isEmpty()); 444 assertEquals(0, multiset.entrySet().size()); 445 assertEquals(0, multiset.entrySet().toArray().length); 446 assertFalse(multiset.entrySet().iterator().hasNext()); 520 List<Entry<E>> entries = copyToList(sortedMultiset.entrySet()); 524 assertEquals(expected, copyToList(subMultiset.entrySet())); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableMapValues.java | 48 return Maps.valueIterator(map.entrySet().iterator()); 63 final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
|
ImmutableMultiset.java | 195 return copyFromEntries(multiset.entrySet()); 239 final Iterator<Entry<E>> entryIterator = entrySet().iterator(); 323 for (Multiset.Entry<E> entry : entrySet()) { 335 return Sets.hashCodeImpl(entrySet()); 339 return entrySet().toString(); 342 private transient ImmutableSet<Entry<E>> entrySet; 345 public ImmutableSet<Entry<E>> entrySet() { 346 ImmutableSet<Entry<E>> es = entrySet; 347 return (es == null) ? (entrySet = createEntrySet()) : es; 351 return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet(); [all...] |
EmptyImmutableBiMap.java | 55 public ImmutableSet<Entry<Object, Object>> entrySet() {
|
ForwardingSortedMultiset.java | 64 * {@link SortedMultiset#entrySet}, and {@link SortedMultiset#remove(Object, int)}. In many 112 * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}. 114 * If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to forward 118 Iterator<Entry<E>> entryIterator = entrySet().iterator(); 133 * descendingMultiset().entrySet().iterator()}. 135 * If you override {@link #descendingMultiset} or {@link #entrySet()}, you may wish to override 140 .entrySet() 155 * A sensible definition of {@link #pollFirstEntry()} in terms of {@code entrySet().iterator()}. 157 * If you override {@link #entrySet()}, you may wish to override {@link #pollFirstEntry()} to 161 Iterator<Entry<E>> entryIterator = entrySet().iterator() [all...] |
SparseImmutableTable.java | 70 for (Map.Entry<R, Map<C, V>> row : rows.entrySet()) { 76 for (Map.Entry<C, Map<R, V>> col : columns.entrySet()) { 98 Map.Entry<R, Map<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex); 101 Map.Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMapValues.java | 46 return Maps.valueIterator(map.entrySet().iterator()); 61 final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
|
ImmutableMultiset.java | 194 return copyFromEntries(multiset.entrySet()); 238 final Iterator<Entry<E>> entryIterator = entrySet().iterator(); 324 return Sets.hashCodeImpl(entrySet()); 328 return entrySet().toString(); 331 private transient ImmutableSet<Entry<E>> entrySet; 334 public ImmutableSet<Entry<E>> entrySet() { 335 ImmutableSet<Entry<E>> es = entrySet; 336 return (es == null) ? (entrySet = createEntrySet()) : es; 340 return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet(); 345 private final class EntrySet extends ImmutableSet<Entry<E>> [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/ |
HostMap.java | 83 return LazyList.getList(super.entrySet()); 97 for(Map.Entry<String, TYPE> entry: super.entrySet())
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
DumpData.java | 73 for (Map.Entry<String, String> e : dumpData.entrySet()) { 83 for (Map.Entry<String, String> e : dumpData.entrySet()) {
|
/libcore/ojluni/src/main/java/sun/misc/ |
SoftCache.java | 224 return entrySet().size(); 231 return entrySet().isEmpty(); 391 private class EntrySet extends AbstractSet { 392 Set hashEntries = hash.entrySet(); 449 private Set entrySet = null; 454 public Set entrySet() { 455 if (entrySet == null) entrySet = new EntrySet(); 456 return entrySet; [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeBasedTableTest.java | 392 Set<Map.Entry<Integer, Character>> entrySet = row.entrySet(); 393 assertTrue(entrySet.contains(Maps.immutableEntry(10, 'X'))); 394 assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X'))); 395 assertFalse(entrySet.contains(Maps.immutableEntry(15, 'X'))); 396 entrySet = row.tailMap(15).entrySet(); 397 assertFalse(entrySet.contains(Maps.immutableEntry(10, 'X'))); 398 assertTrue(entrySet.contains(Maps.immutableEntry(20, 'X'))); 399 assertFalse(entrySet.contains(Maps.immutableEntry(15, 'X'))) [all...] |
/external/nist-sip/java/gov/nist/core/ |
MultiValueMapImpl.java | 56 Set pairs = map.entrySet(); 72 Set pairs = map.entrySet(); 85 Set pairs = map.entrySet(); 113 public Set entrySet() { 114 return map.entrySet();
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
SmallSortedMapTest.java | 236 Set<Map.Entry<Integer, Integer>> entrySet = map.entrySet(); 239 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i + 1))); 241 entrySet.contains(new SimpleEntry<Integer, Integer>(i, i))); 247 Set<Map.Entry<Integer, Integer>> entrySet = map.entrySet(); 251 assertTrue(entrySet.add(entry)); 252 assertFalse(entrySet.add(entry)); 264 Set<Map.Entry<Integer, Integer>> entrySet = map.entrySet(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SortedMapTestBase.java | 77 Set<Map.Entry<Integer, Integer>> refSet = ref.entrySet(); 78 Set<Map.Entry<Integer, Integer>> mapSet = map.entrySet(); 85 assertEquals(ref.entrySet(), map.entrySet()); 230 Map.Entry<Integer, Integer> refE = ref.entrySet().iterator().next(); 231 Map.Entry<Integer, Integer> mapE = map.entrySet().iterator().next(); 268 assertTrue("Should not have entries", !map.entrySet().iterator() 275 assertTrue("Should not have entries", !map.entrySet().iterator() 282 assertFalse(map.entrySet().iterator().hasNext()); 332 assertEquals(ref.entrySet(), map.entrySet()) [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ArrayMapTests.java | 127 Set<Map.Entry> mapSet = map.entrySet(); 149 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { 151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" 152 + Integer.toHexString(array.entrySet().hashCode())); 156 if (!map.entrySet().equals(array.entrySet())) { 161 if (!array.entrySet().equals(map.entrySet())) { 198 if (!map.entrySet().containsAll(array.entrySet())) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_UnmodifiableMapTest.java | 60 // entrySet 61 Set<?> entrySet = map.entrySet(); 62 Iterator<?> entrySetIterator = entrySet.iterator();
|
/external/testng/src/main/java/org/testng/collections/ |
MultiMap.java | 88 return entrySet(); 91 public Set<Map.Entry<K, C>> entrySet() { 92 return m_objects.entrySet();
|
/libcore/ojluni/src/main/java/java/security/cert/ |
PKIXRevocationChecker.java | 194 for (Map.Entry<X509Certificate, byte[]> e : responses.entrySet()) { 213 for (Map.Entry<X509Certificate, byte[]> e : ocspResponses.entrySet()) { 264 copy.ocspResponses.entrySet())
|
/cts/tests/tests/util/src/android/util/cts/ |
ArrayMapTest.java | 153 Set<Map.Entry> mapSet = map.entrySet(); 173 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { 175 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" 176 + Integer.toHexString(array.entrySet().hashCode())); 179 if (!map.entrySet().equals(array.entrySet())) { 183 if (!array.entrySet().equals(map.entrySet())) { 213 if (!map.entrySet().containsAll(array.entrySet())) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedMapTest.java | 61 for (Entry<K, V> entry : map.entrySet()) { 66 assertEquals("{" + joiner.join(map.entrySet()) + "}", 68 assertEquals("[" + joiner.join(map.entrySet()) + "]", 69 map.entrySet().toString()); 75 assertEquals(Sets.newHashSet(map.entrySet()), map.entrySet()); 573 for (Entry<K, V> entry : map.entrySet()) { 603 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); 606 assertEquals(intMap.hashCode(), map.entrySet().hashCode()); 614 assertThat(map.entrySet()).has().exactly [all...] |
/art/test/062-character-encodings/src/ |
Main.java | 19 for (Map.Entry<String, Charset> e : all.entrySet()) {
|
/art/test/063-process-manager/src/ |
Main.java | 30 traces.entrySet()) {
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiCoverage.java | 44 for (Map.Entry<String, ApiPackage> entry : mPackages.entrySet()) {
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
Table_CustomFieldSerializerBase.java | 36 for (Entry<?, ?> row : hashMap.entrySet()) {
|