/external/guava/guava/src/com/google/common/collect/ |
D | AbstractSortedMultiset.java | 67 Iterator<Entry<E>> entryIterator = entryIterator(); in firstEntry() local 68 return entryIterator.hasNext() ? entryIterator.next() : null; in firstEntry() 73 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in lastEntry() local 74 return entryIterator.hasNext() ? entryIterator.next() : null; in lastEntry() 79 Iterator<Entry<E>> entryIterator = entryIterator(); in pollFirstEntry() local 80 if (entryIterator.hasNext()) { in pollFirstEntry() 81 Entry<E> result = entryIterator.next(); in pollFirstEntry() 83 entryIterator.remove(); in pollFirstEntry() 91 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in pollLastEntry() local 92 if (entryIterator.hasNext()) { in pollLastEntry() [all …]
|
D | ForwardingSortedMultiset.java | 118 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardFirstEntry() local 119 if (!entryIterator.hasNext()) { in standardFirstEntry() 122 Entry<E> entry = entryIterator.next(); in standardFirstEntry() 139 Iterator<Entry<E>> entryIterator = descendingMultiset() in standardLastEntry() local 142 if (!entryIterator.hasNext()) { in standardLastEntry() 145 Entry<E> entry = entryIterator.next(); in standardLastEntry() 161 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardPollFirstEntry() local 162 if (!entryIterator.hasNext()) { in standardPollFirstEntry() 165 Entry<E> entry = entryIterator.next(); in standardPollFirstEntry() 167 entryIterator.remove(); in standardPollFirstEntry() [all …]
|
D | Multisets.java | 308 Iterator<Entry<E>> entryIterator() { in entryIterator() method 407 Iterator<Entry<E>> entryIterator() { 474 Iterator<Entry<E>> entryIterator() { 549 Iterator<Entry<E>> entryIterator() { 613 Iterator<Entry<E>> entryIterator() { 633 return Iterators.size(entryIterator()); 689 Iterator<Entry<E>> entryIterator = multisetToModify.entrySet().iterator(); 691 while (entryIterator.hasNext()) { 692 Entry<E> entry = entryIterator.next(); 695 entryIterator.remove(); [all …]
|
D | FilteredEntryMultimap.java | 135 Iterator<Entry<K, V>> entryIterator() { in entryIterator() method in FilteredEntryMultimap 150 Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator(); in removeEntriesIf() local 152 while (entryIterator.hasNext()) { in removeEntriesIf() 153 Entry<K, Collection<V>> entry = entryIterator.next(); in removeEntriesIf() 158 entryIterator.remove(); in removeEntriesIf() 291 Iterator<Entry<K, Collection<V>>> entryIterator 293 while (entryIterator.hasNext()) { 294 Entry<K, Collection<V>> entry = entryIterator.next(); 300 entryIterator.remove(); 371 return Keys.this.entryIterator();
|
D | AbstractMapBasedMultiset.java | 86 Iterator<Entry<E>> entryIterator() { in entryIterator() method in AbstractMapBasedMultiset 160 final Iterator<Map.Entry<E, Count>> entryIterator; 166 this.entryIterator = backingMap.entrySet().iterator(); 171 return occurrencesLeft > 0 || entryIterator.hasNext(); 177 currentEntry = entryIterator.next(); 193 entryIterator.remove();
|
D | ForwardingSortedMap.java | 165 Iterator<Entry<Object, V>> entryIterator = in standardRemove() local 167 if (entryIterator.hasNext()) { in standardRemove() 168 Entry<Object, V> ceilingEntry = entryIterator.next(); in standardRemove() 171 entryIterator.remove(); in standardRemove()
|
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()
|
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 | DescendingMultiset.java | 100 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in DescendingMultiset 116 return entryIterator(); in createEntrySet()
|
D | ImmutableMultiset.java | 239 final Iterator<Entry<E>> entryIterator = entrySet().iterator(); in iterator() local 246 return (remaining > 0) || entryIterator.hasNext(); in iterator() 252 Entry<E> entry = entryIterator.next(); in iterator()
|
D | AbstractMultimap.java | 127 return entryIterator(); in iterator() 143 abstract Iterator<Entry<K, V>> entryIterator(); in entryIterator() method in AbstractMultimap
|
D | AbstractMapBasedMultimap.java | 848 final Iterator<Map.Entry<K, Collection<V>>> entryIterator in iterator() local 855 return entryIterator.hasNext(); in iterator() 859 entry = entryIterator.next(); in iterator() 866 entryIterator.remove(); in iterator() 1052 Iterator<Map.Entry<K, V>> entryIterator() {
|
D | StandardTable.java | 661 Iterator<Entry<C, V>> entryIterator = Iterators.emptyIterator(); 665 if (entryIterator.hasNext()) { 666 Entry<C, V> entry = entryIterator.next(); 672 entryIterator = mapIterator.next().entrySet().iterator();
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractSortedMultiset.java | 67 Iterator<Entry<E>> entryIterator = entryIterator(); in firstEntry() local 68 return entryIterator.hasNext() ? entryIterator.next() : null; in firstEntry() 73 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in lastEntry() local 74 return entryIterator.hasNext() ? entryIterator.next() : null; in lastEntry() 79 Iterator<Entry<E>> entryIterator = entryIterator(); in pollFirstEntry() local 80 if (entryIterator.hasNext()) { in pollFirstEntry() 81 Entry<E> result = entryIterator.next(); in pollFirstEntry() 83 entryIterator.remove(); in pollFirstEntry() 91 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in pollLastEntry() local 92 if (entryIterator.hasNext()) { in pollLastEntry() [all …]
|
D | AbstractMapBasedMultiset.java | 83 Iterator<Entry<E>> entryIterator() { in entryIterator() method in AbstractMapBasedMultiset 157 final Iterator<Map.Entry<E, Count>> entryIterator; 163 this.entryIterator = backingMap.entrySet().iterator(); 168 return occurrencesLeft > 0 || entryIterator.hasNext(); 174 currentEntry = entryIterator.next(); 190 entryIterator.remove();
|
D | DescendingMultiset.java | 100 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in DescendingMultiset 116 return entryIterator(); in createEntrySet()
|
D | ImmutableMultiset.java | 238 final Iterator<Entry<E>> entryIterator = entrySet().iterator(); in iterator() local 245 return (remaining > 0) || entryIterator.hasNext(); in iterator() 251 Entry<E> entry = entryIterator.next(); in iterator()
|
D | AbstractMapBasedMultimap.java | 847 final Iterator<Map.Entry<K, Collection<V>>> entryIterator in iterator() local 854 return entryIterator.hasNext(); in iterator() 858 entry = entryIterator.next(); in iterator() 865 entryIterator.remove(); in iterator() 1051 Iterator<Map.Entry<K, V>> entryIterator() {
|
D | LinkedHashMultimap.java | 489 Iterator<Map.Entry<K, V>> entryIterator() { in entryIterator() method 521 return Maps.valueIterator(entryIterator());
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | LinkedHashMultimapTest.java | 98 Iterator<Map.Entry<String, Integer>> entryIterator = in assertOrderingReadOnly() local 100 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly() 101 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly() 102 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly() 103 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly() 104 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); in assertOrderingReadOnly()
|
D | SimpleAbstractMultisetTest.java | 84 Iterator<Entry<E>> entryIterator() { in entryIterator() method in SimpleAbstractMultisetTest.NoRemoveMultiset
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | LinkedHashMultimapTest.java | 170 Iterator<Map.Entry<String, Integer>> entryIterator = in assertOrderingReadOnly() local 172 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly() 173 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly() 174 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly() 175 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly() 176 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 | 110 Iterator<Entry<E>> entryIterator() { in entryIterator() method in SimpleAbstractMultisetTest.NoRemoveMultiset
|