Home
last modified time | relevance | path

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

1234

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DAbstractSortedMultiset.java65 Iterator<Entry<E>> entryIterator = entryIterator(); in firstEntry() local
66 return entryIterator.hasNext() ? entryIterator.next() : null; in firstEntry()
71 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in lastEntry() local
72 return entryIterator.hasNext() ? entryIterator.next() : null; in lastEntry()
77 Iterator<Entry<E>> entryIterator = entryIterator(); in pollFirstEntry() local
78 if (entryIterator.hasNext()) { in pollFirstEntry()
79 Entry<E> result = entryIterator.next(); in pollFirstEntry()
81 entryIterator.remove(); in pollFirstEntry()
89 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in pollLastEntry() local
90 if (entryIterator.hasNext()) { in pollLastEntry()
[all …]
DForwardingSortedMultiset.java111 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardFirstEntry() local
112 if (!entryIterator.hasNext()) { in standardFirstEntry()
115 Entry<E> entry = entryIterator.next(); in standardFirstEntry()
132 Iterator<Entry<E>> entryIterator = descendingMultiset().entrySet().iterator(); in standardLastEntry() local
133 if (!entryIterator.hasNext()) { in standardLastEntry()
136 Entry<E> entry = entryIterator.next(); in standardLastEntry()
152 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardPollFirstEntry() local
153 if (!entryIterator.hasNext()) { in standardPollFirstEntry()
156 Entry<E> entry = entryIterator.next(); in standardPollFirstEntry()
158 entryIterator.remove(); in standardPollFirstEntry()
[all …]
DImmutableMap.java55 abstract UnmodifiableIterator<Entry<K, V>> entryIterator(); in entryIterator() method in ImmutableMap.IteratorBasedImmutableMap
67 return entryIterator(); in createEntrySet()
317 final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator();
321 return entryIterator.hasNext();
326 return entryIterator.next().getKey();
390 UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
/external/guava/guava/src/com/google/common/collect/
DAbstractSortedMultiset.java66 Iterator<Entry<E>> entryIterator = entryIterator(); in firstEntry() local
67 return entryIterator.hasNext() ? entryIterator.next() : null; in firstEntry()
72 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in lastEntry() local
73 return entryIterator.hasNext() ? entryIterator.next() : null; in lastEntry()
78 Iterator<Entry<E>> entryIterator = entryIterator(); in pollFirstEntry() local
79 if (entryIterator.hasNext()) { in pollFirstEntry()
80 Entry<E> result = entryIterator.next(); in pollFirstEntry()
82 entryIterator.remove(); in pollFirstEntry()
90 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in pollLastEntry() local
91 if (entryIterator.hasNext()) { in pollLastEntry()
[all …]
DForwardingSortedMultiset.java124 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardFirstEntry() local
125 if (!entryIterator.hasNext()) { in standardFirstEntry()
128 Entry<E> entry = entryIterator.next(); in standardFirstEntry()
145 Iterator<Entry<E>> entryIterator = descendingMultiset().entrySet().iterator(); in standardLastEntry() local
146 if (!entryIterator.hasNext()) { in standardLastEntry()
149 Entry<E> entry = entryIterator.next(); in standardLastEntry()
165 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardPollFirstEntry() local
166 if (!entryIterator.hasNext()) { in standardPollFirstEntry()
169 Entry<E> entry = entryIterator.next(); in standardPollFirstEntry()
171 entryIterator.remove(); in standardPollFirstEntry()
[all …]
DMultisets.java348 Iterator<Entry<E>> entryIterator() {
438 Iterator<Entry<E>> entryIterator() {
500 Iterator<Entry<E>> entryIterator() {
572 Iterator<Entry<E>> entryIterator() {
648 Iterator<Entry<E>> entryIterator() {
668 return Iterators.size(entryIterator());
720 Iterator<Entry<E>> entryIterator = multisetToModify.entrySet().iterator();
722 while (entryIterator.hasNext()) {
723 Entry<E> entry = entryIterator.next();
726 entryIterator.remove();
[all …]
DFilteredEntryMultimap.java133 Iterator<Entry<K, V>> entryIterator() { in entryIterator() method in FilteredEntryMultimap
148 Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator(); in removeEntriesIf() local
150 while (entryIterator.hasNext()) { in removeEntriesIf()
151 Entry<K, Collection<V>> entry = entryIterator.next(); in removeEntriesIf()
156 entryIterator.remove(); in removeEntriesIf()
303 Iterator<Entry<K, Collection<V>>> entryIterator = in createValues() local
305 while (entryIterator.hasNext()) { in createValues()
306 Entry<K, Collection<V>> entry = entryIterator.next(); in createValues()
312 entryIterator.remove(); in createValues()
385 return Keys.this.entryIterator(); in entrySet()
DAbstractMapBasedMultiset.java112 Iterator<Entry<E>> entryIterator() { in entryIterator() method
194 final Iterator<Map.Entry<E, Count>> entryIterator;
200 this.entryIterator = backingMap.entrySet().iterator();
205 return occurrencesLeft > 0 || entryIterator.hasNext();
211 currentEntry = entryIterator.next();
227 entryIterator.remove();
DForwardingMap.java162 Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); in standardRemove() local
163 while (entryIterator.hasNext()) { in standardRemove()
164 Entry<K, V> entry = entryIterator.next(); in standardRemove()
167 entryIterator.remove(); in standardRemove()
DAbstractNavigableMap.java43 return Iterators.getNext(entryIterator(), null); in firstEntry()
53 return Iterators.pollNext(entryIterator()); in pollFirstEntry()
165 Iterator<Entry<K, V>> entryIterator() { in entryIterator() method in AbstractNavigableMap.DescendingMap
DImmutableMap.java481 abstract UnmodifiableIterator<Entry<K, V>> entryIterator(); in entryIterator() method in ImmutableMap.IteratorBasedImmutableMap
485 entryIterator(), in entrySpliterator()
505 return entryIterator(); in createEntrySet()
743 final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator(); in keyIterator() local
747 return entryIterator.hasNext(); in keyIterator()
752 return entryIterator.next().getKey(); in keyIterator()
841 UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
/external/guava/android/guava/src/com/google/common/collect/
DAbstractSortedMultiset.java66 Iterator<Entry<E>> entryIterator = entryIterator(); in firstEntry() local
67 return entryIterator.hasNext() ? entryIterator.next() : null; in firstEntry()
72 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in lastEntry() local
73 return entryIterator.hasNext() ? entryIterator.next() : null; in lastEntry()
78 Iterator<Entry<E>> entryIterator = entryIterator(); in pollFirstEntry() local
79 if (entryIterator.hasNext()) { in pollFirstEntry()
80 Entry<E> result = entryIterator.next(); in pollFirstEntry()
82 entryIterator.remove(); in pollFirstEntry()
90 Iterator<Entry<E>> entryIterator = descendingEntryIterator(); in pollLastEntry() local
91 if (entryIterator.hasNext()) { in pollLastEntry()
[all …]
DForwardingSortedMultiset.java124 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardFirstEntry() local
125 if (!entryIterator.hasNext()) { in standardFirstEntry()
128 Entry<E> entry = entryIterator.next(); in standardFirstEntry()
145 Iterator<Entry<E>> entryIterator = descendingMultiset().entrySet().iterator(); in standardLastEntry() local
146 if (!entryIterator.hasNext()) { in standardLastEntry()
149 Entry<E> entry = entryIterator.next(); in standardLastEntry()
165 Iterator<Entry<E>> entryIterator = entrySet().iterator(); in standardPollFirstEntry() local
166 if (!entryIterator.hasNext()) { in standardPollFirstEntry()
169 Entry<E> entry = entryIterator.next(); in standardPollFirstEntry()
171 entryIterator.remove(); in standardPollFirstEntry()
[all …]
DMultisets.java317 Iterator<Entry<E>> entryIterator() { in entryIterator() method
407 Iterator<Entry<E>> entryIterator() {
469 Iterator<Entry<E>> entryIterator() {
541 Iterator<Entry<E>> entryIterator() {
617 Iterator<Entry<E>> entryIterator() {
637 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.java133 Iterator<Entry<K, V>> entryIterator() { in entryIterator() method in FilteredEntryMultimap
148 Iterator<Entry<K, Collection<V>>> entryIterator = unfiltered.asMap().entrySet().iterator(); in removeEntriesIf() local
150 while (entryIterator.hasNext()) { in removeEntriesIf()
151 Entry<K, Collection<V>> entry = entryIterator.next(); in removeEntriesIf()
156 entryIterator.remove(); in removeEntriesIf()
303 Iterator<Entry<K, Collection<V>>> entryIterator = in createValues() local
305 while (entryIterator.hasNext()) { in createValues()
306 Entry<K, Collection<V>> entry = entryIterator.next(); in createValues()
312 entryIterator.remove(); in createValues()
385 return Keys.this.entryIterator(); in entrySet()
DForwardingMap.java162 Iterator<Entry<K, V>> entryIterator = entrySet().iterator(); in standardRemove() local
163 while (entryIterator.hasNext()) { in standardRemove()
164 Entry<K, V> entry = entryIterator.next(); in standardRemove()
167 entryIterator.remove(); in standardRemove()
DAbstractNavigableMap.java45 return Iterators.getNext(entryIterator(), null); in firstEntry()
57 return Iterators.pollNext(entryIterator()); in pollFirstEntry()
174 Iterator<Entry<K, V>> entryIterator() { in entryIterator() method in AbstractNavigableMap.DescendingMap
DImmutableMap.java411 abstract UnmodifiableIterator<Entry<K, V>> entryIterator(); in entryIterator() method in ImmutableMap.IteratorBasedImmutableMap
428 return entryIterator(); in createEntrySet()
562 final UnmodifiableIterator<Entry<K, V>> entryIterator = entrySet().iterator(); in keyIterator() local
566 return entryIterator.hasNext(); in keyIterator()
571 return entryIterator.next().getKey(); in keyIterator()
656 UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
/external/guava/guava/src/com/google/common/graph/
DMapIteratorCache.java96 final Iterator<Entry<K, V>> entryIterator = backingMap.entrySet().iterator(); in unmodifiableKeySet()
101 return entryIterator.hasNext(); in unmodifiableKeySet()
106 Entry<K, V> entry = entryIterator.next(); // store local reference for thread-safety in unmodifiableKeySet()
/external/guava/android/guava/src/com/google/common/graph/
DMapIteratorCache.java96 final Iterator<Entry<K, V>> entryIterator = backingMap.entrySet().iterator(); in unmodifiableKeySet()
101 return entryIterator.hasNext(); in unmodifiableKeySet()
106 Entry<K, V> entry = entryIterator.next(); // store local reference for thread-safety in unmodifiableKeySet()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/changes/
DChangeSetPerformer.java111 private ChangeSetResults perform(final ArchiveEntryIterator entryIterator, in perform() argument
128 while (entryIterator.hasNext()) { in perform()
129 final ArchiveEntry entry = entryIterator.next(); in perform()
157 copyStream(entryIterator.getInputStream(), out, entry); in perform()
/external/curl/lib/
Dldap.c276 LDAPMessage *entryIterator; in Curl_ldap() local
509 for(num = 0, entryIterator = ldap_first_entry(server, ldapmsg); in Curl_ldap()
510 entryIterator; in Curl_ldap()
511 entryIterator = ldap_next_entry(server, entryIterator), num++) { in Curl_ldap()
525 TCHAR *dn = ldap_get_dn(server, entryIterator); in Curl_ldap()
535 char *dn = name = ldap_get_dn(server, entryIterator); in Curl_ldap()
569 for(attribute = ldap_first_attribute(server, entryIterator, &ber); in Curl_ldap()
571 attribute = ldap_next_attribute(server, entryIterator, ber)) { in Curl_ldap()
589 vals = ldap_get_values_len(server, entryIterator, attribute); in Curl_ldap()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java305 Iterator<Entry<K, AtomicLong>> entryIterator = map.entrySet().iterator(); in removeAllZeros() local
306 while (entryIterator.hasNext()) { in removeAllZeros()
307 Entry<K, AtomicLong> entry = entryIterator.next(); in removeAllZeros()
310 entryIterator.remove(); in removeAllZeros()
/external/guava/android/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java169 Iterator<Entry<String, Integer>> entryIterator = multimap.entries().iterator(); in assertOrderingReadOnly() local
170 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); in assertOrderingReadOnly()
171 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); in assertOrderingReadOnly()
172 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); in assertOrderingReadOnly()
173 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); in assertOrderingReadOnly()
174 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); in assertOrderingReadOnly()
/external/protobuf/js/
Dmaps_test.js338 var entryIterator = m.entries();
339 assertElementsEquals(entryIterator.next().value, ['key1', 'value1']);
340 assertElementsEquals(entryIterator.next().value, ['key2', 'value2']);
341 assertEquals(entryIterator.next().done, true);

1234