/external/guava/guava/src/com/google/common/collect/ |
D | AbstractSortedMultiset.java | 70 Iterator<Entry<E>> entryIterator = entryIterator(); 71 return entryIterator.hasNext() ? entryIterator.next() : null; 76 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); 77 return entryIterator.hasNext() ? entryIterator.next() : null; 82 Iterator<Entry<E>> entryIterator = entryIterator(); 83 if (entryIterator.hasNext()) { 84 Entry<E> result = entryIterator.next(); 86 entryIterator.remove(); 94 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); 95 if (entryIterator.hasNext()) { [all …]
|
D | ForwardingMap.java | 161 Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); in standardRemove() local 162 while (entryIterator.hasNext()) { in standardRemove() 163 Entry<K, V> entry = entryIterator.next(); in standardRemove() 166 entryIterator.remove(); in standardRemove() 181 Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); in standardClear() local 182 while (entryIterator.hasNext()) { in standardClear() 183 entryIterator.next(); in standardClear() 184 entryIterator.remove(); in standardClear()
|
D | Multisets.java | 512 Iterator<Entry<E>> entryIterator() { in intersection() method in Multisets 589 Iterator<Entry<E>> entryIterator = multisetToModify.entrySet().iterator(); 591 while (entryIterator.hasNext()) { 592 Entry<E> entry = entryIterator.next(); 595 entryIterator.remove(); 643 Iterator<Entry<E>> entryIterator = multisetToModify.entrySet().iterator(); 644 while (entryIterator.hasNext()) { 645 Entry<E> entry = entryIterator.next(); 648 entryIterator.remove(); 884 private final Iterator<Entry<E>> entryIterator; [all …]
|
D | ForwardingSortedMap.java | 142 Iterator<Entry<Object, V>> entryIterator = in standardRemove() local 144 if (entryIterator.hasNext()) { in standardRemove() 145 Entry<Object, V> ceilingEntry = entryIterator.next(); in standardRemove() 148 entryIterator.remove(); in standardRemove()
|
D | ForwardingMultiset.java | 122 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardClear() local 123 while (entryIterator.hasNext()) { in standardClear() 124 entryIterator.next(); in standardClear() 125 entryIterator.remove(); in standardClear()
|
D | AbstractMapBasedMultiset.java | 91 Iterator<Entry<E>> entryIterator() { in entryIterator() method in AbstractMapBasedMultiset 166 final Iterator<Map.Entry<E, Count>> entryIterator; 172 this.entryIterator = backingMap.entrySet().iterator(); 177 return occurrencesLeft > 0 || entryIterator.hasNext(); 183 currentEntry = entryIterator.next(); 200 entryIterator.remove();
|
D | AbstractMultiset.java | 129 Iterators.clear(entryIterator()); in clear() 160 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in AbstractMultiset 177 return entryIterator(); in iterator()
|
D | DescendingImmutableSortedMultiset.java | 64 return forward.entryIterator(); in descendingEntryIterator() 83 UnmodifiableIterator<Entry<E>> entryIterator() { in entryIterator() method in DescendingImmutableSortedMultiset
|
D | ImmutableMultiset.java | 247 final Iterator<Entry<E>> entryIterator = entryIterator(); in iterator() local 255 return (remaining > 0) || entryIterator.hasNext(); in iterator() 261 Entry<E> entry = entryIterator.next(); in iterator() 356 abstract UnmodifiableIterator<Entry<E>> entryIterator(); in entryIterator() method 373 return multiset.entryIterator(); in iterator()
|
D | StandardTable.java | 879 Iterator<Entry<C, V>> entryIterator = Iterators.emptyIterator(); 883 if (entryIterator.hasNext()) { 884 Entry<C, V> entry = entryIterator.next(); 890 entryIterator = mapIterator.next().entrySet().iterator(); 1166 final Iterator<Entry<K, V>> entryIterator = map.entrySet().iterator(); 1169 return entryIterator.hasNext(); 1172 return entryIterator.next().getKey(); 1175 entryIterator.remove(); 1185 final Iterator<Entry<K, V>> entryIterator = map.entrySet().iterator(); 1188 return entryIterator.hasNext(); [all …]
|
D | EmptyImmutableMultiset.java | 49 UnmodifiableIterator<Entry<Object>> entryIterator() { in entryIterator() method in EmptyImmutableMultiset
|
D | SortedMultisets.java | 155 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method 171 return entryIterator(); in createEntrySet()
|
D | EmptyImmutableSortedMultiset.java | 69 UnmodifiableIterator<Entry<E>> entryIterator() { in entryIterator() method in EmptyImmutableSortedMultiset
|
D | RegularImmutableMultiset.java | 71 UnmodifiableIterator<Entry<E>> entryIterator() { in entryIterator() method in RegularImmutableMultiset
|
D | ImmutableMultimap.java | 602 final Iterator<? extends Entry<?, V>> entryIterator in iterator() local 607 return entryIterator.hasNext(); in iterator() 611 return entryIterator.next().getValue(); in iterator()
|
D | ImmutableSortedMap.java | 558 final UnmodifiableIterator<Entry<K, V>> entryIterator = entries.iterator(); 562 return entryIterator.hasNext(); 566 return entryIterator.next().getValue();
|
D | AbstractMultimap.java | 894 final Iterator<Map.Entry<K, Collection<V>>> entryIterator in iterator() 900 return entryIterator.hasNext(); in iterator() 904 entry = entryIterator.next(); in iterator() 911 entryIterator.remove(); in iterator()
|
D | RegularImmutableSortedMultiset.java | 99 UnmodifiableIterator<Multiset.Entry<E>> entryIterator() {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractMapBasedMultiset.java | 88 Iterator<Entry<E>> entryIterator() { in entryIterator() method in AbstractMapBasedMultiset 163 final Iterator<Map.Entry<E, Count>> entryIterator; 169 this.entryIterator = backingMap.entrySet().iterator(); 174 return occurrencesLeft > 0 || entryIterator.hasNext(); 180 currentEntry = entryIterator.next(); 197 entryIterator.remove();
|
D | ImmutableMultimap.java | 592 final Iterator<? extends Entry<?, V>> entryIterator in iterator() local 597 return entryIterator.hasNext(); in iterator() 601 return entryIterator.next().getValue(); in iterator()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | LinkedHashMultimapTest.java | 96 Iterator<Map.Entry<String, Integer>> entryIterator = in assertOrderingReadOnly() local 98 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly() 99 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly() 100 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly() 101 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly() 102 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); in assertOrderingReadOnly()
|
D | MapsTransformValuesTest.java | 230 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator(); in testTransformChangesAreReflectedInUnderlyingMap() local 231 entryIterator.next(); in testTransformChangesAreReflectedInUnderlyingMap() 232 entryIterator.remove(); in testTransformChangesAreReflectedInUnderlyingMap()
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 283 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator(); 284 entryIterator.next(); 285 entryIterator.remove();
|
D | SimpleAbstractMultisetTest.java | 85 Iterator<Entry<E>> entryIterator() { in entryIterator() method in SimpleAbstractMultisetTest.NoRemoveMultiset
|
D | ConcurrentHashMultisetTest.java | 285 return multiset.entryIterator(); in testEntryIterator() 290 assertEquals(ImmutableSet.copyOf(elements), ImmutableSet.copyOf(multiset.entryIterator())); in testEntryIterator()
|