Home
last modified time | relevance | path

Searched refs:entryIterator (Results 1 – 25 of 47) sorted by relevance

12

/external/guava/guava/src/com/google/common/collect/
DAbstractSortedMultiset.java67 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 …]
DForwardingSortedMultiset.java118 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 …]
DMultisets.java308 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 …]
DFilteredEntryMultimap.java135 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();
DAbstractNavigableMap.java44 return Iterators.getNext(entryIterator(), null); in firstEntry()
56 return Iterators.pollNext(entryIterator()); in pollFirstEntry()
129 abstract Iterator<Entry<K, V>> entryIterator(); in entryIterator() method in AbstractNavigableMap
171 return entryIterator(); in entrySet()
193 Iterator<Entry<K, V>> entryIterator() {
DAbstractMapBasedMultiset.java86 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();
DForwardingMap.java161 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()
DAbstractMultiset.java129 Iterators.clear(entryIterator()); in clear()
160 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in AbstractMultiset
180 return entryIterator(); in iterator()
DDescendingMultiset.java100 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in DescendingMultiset
116 return entryIterator(); in createEntrySet()
DAbstractMapBasedMultimap.java925 final Iterator<Map.Entry<K, Collection<V>>> entryIterator in iterator() local
932 return entryIterator.hasNext(); in iterator()
936 entry = entryIterator.next(); in iterator()
943 entryIterator.remove(); in iterator()
1213 Iterator<Map.Entry<K, V>> entryIterator() {
1496 Map.Entry<K, Collection<V>> pollAsMapEntry(Iterator<Entry<K, Collection<V>>> entryIterator) {
1497 if (!entryIterator.hasNext()) {
1500 Entry<K, Collection<V>> entry = entryIterator.next();
1503 entryIterator.remove();
DTreeRangeSet.java319 Iterator<Entry<Cut<C>, Range<C>>> entryIterator() { in entryIterator() method in TreeRangeSet.RangesByUpperBound
388 return Iterators.size(entryIterator());
395 : !entryIterator().hasNext();
455 Iterator<Entry<Cut<C>, Range<C>>> entryIterator() {
566 return Iterators.size(entryIterator());
711 Iterator<Entry<Cut<C>, Range<C>>> entryIterator() {
779 return Iterators.size(entryIterator());
DImmutableMultiset.java239 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()
DAbstractMultimap.java127 return entryIterator(); in iterator()
143 abstract Iterator<Entry<K, V>> entryIterator(); in entryIterator() method in AbstractMultimap
DStandardTable.java661 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/
DAbstractSortedMultiset.java67 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 …]
DAbstractMapBasedMultiset.java83 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();
DDescendingMultiset.java100 abstract Iterator<Entry<E>> entryIterator(); in entryIterator() method in DescendingMultiset
116 return entryIterator(); in createEntrySet()
DImmutableMultiset.java238 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()
DAbstractMapBasedMultimap.java847 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() {
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DLinkedHashMultimapTest.java98 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()
DSimpleAbstractMultisetTest.java84 Iterator<Entry<E>> entryIterator() { in entryIterator() method in SimpleAbstractMultisetTest.NoRemoveMultiset
/external/curl/lib/
Dldap.c194 LDAPMessage *entryIterator; in Curl_ldap() local
428 for(num = 0, entryIterator = ldap_first_entry(server, ldapmsg); in Curl_ldap()
429 entryIterator; in Curl_ldap()
430 entryIterator = ldap_next_entry(server, entryIterator), num++) { in Curl_ldap()
444 TCHAR *dn = ldap_get_dn(server, entryIterator); in Curl_ldap()
454 char *dn = name = ldap_get_dn(server, entryIterator); in Curl_ldap()
498 for(attribute = ldap_first_attribute(server, entryIterator, &ber); in Curl_ldap()
500 attribute = ldap_next_attribute(server, entryIterator, ber)) { in Curl_ldap()
518 vals = ldap_get_values_len(server, entryIterator, attribute); in Curl_ldap()
/external/guava/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java170 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()
DMapsTransformValuesTest.java230 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator(); in testTransformChangesAreReflectedInUnderlyingMap() local
231 entryIterator.next(); in testTransformChangesAreReflectedInUnderlyingMap()
232 entryIterator.remove(); in testTransformChangesAreReflectedInUnderlyingMap()
DMapsTransformValuesUnmodifiableIteratorTest.java283 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator();
284 entryIterator.next();
285 entryIterator.remove();

12