HomeSort by relevance Sort by last modified time
    Searched refs:entryIterator (Results 1 - 25 of 45) sorted by null

1 2

  /external/guava/guava/src/com/google/common/collect/
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())
    [all...]
ForwardingMap.java 161 Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
162 while (entryIterator.hasNext()) {
163 Entry<K, V> entry = entryIterator.next();
166 entryIterator.remove();
181 Iterator<Entry<K, V>> entryIterator = entrySet().iterator();
182 while (entryIterator.hasNext()) {
183 entryIterator.next();
184 entryIterator.remove();
EmptyImmutableMultiset.java 49 UnmodifiableIterator<Entry<Object>> entryIterator() {
ForwardingSortedMap.java 142 Iterator<Entry<Object, V>> entryIterator =
144 if (entryIterator.hasNext()) {
145 Entry<Object, V> ceilingEntry = entryIterator.next();
148 entryIterator.remove();
DescendingImmutableSortedMultiset.java 64 return forward.entryIterator();
83 UnmodifiableIterator<Entry<E>> entryIterator() {
ForwardingMultiset.java 122 Iterator<Entry<E>> entryIterator = entrySet().iterator();
123 while (entryIterator.hasNext()) {
124 entryIterator.next();
125 entryIterator.remove();
AbstractMultiset.java 129 Iterators.clear(entryIterator());
160 abstract Iterator<Entry<E>> entryIterator();
177 return entryIterator();
AbstractMapBasedMultiset.java 91 Iterator<Entry<E>> entryIterator() {
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();
EmptyImmutableSortedMultiset.java 69 UnmodifiableIterator<Entry<E>> entryIterator() {
Multisets.java 512 Iterator<Entry<E>> entryIterator() {
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...]
RegularImmutableMultiset.java 71 UnmodifiableIterator<Entry<E>> entryIterator() {
ImmutableMultiset.java 247 final Iterator<Entry<E>> entryIterator = entryIterator();
255 return (remaining > 0) || entryIterator.hasNext();
261 Entry<E> entry = entryIterator.next();
356 abstract UnmodifiableIterator<Entry<E>> entryIterator();
373 return multiset.entryIterator();
SortedMultisets.java 82 * {@code forwardMultiset()} and {@code entryIterator()}.
155 abstract Iterator<Entry<E>> entryIterator();
171 return entryIterator();
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();
964 return new EntryIterator();
992 class EntryIterator implements Iterator<Entry<R, Map<C, V>>> {
    [all...]
ImmutableMultimap.java 602 final Iterator<? extends Entry<?, V>> entryIterator
607 return entryIterator.hasNext();
611 return entryIterator.next().getValue();
ImmutableSortedMap.java 558 final UnmodifiableIterator<Entry<K, V>> entryIterator = entries.iterator();
562 return entryIterator.hasNext();
566 return entryIterator.next().getValue();
AbstractMultimap.java 894 final Iterator<Map.Entry<K, Collection<V>>> entryIterator
900 return entryIterator.hasNext();
904 entry = entryIterator.next();
911 entryIterator.remove();
1104 return new EntryIterator();
1108 private class EntryIterator implements Iterator<Map.Entry<K, V>> {
1114 EntryIterator() {
    [all...]
RegularImmutableSortedMultiset.java 99 UnmodifiableIterator<Multiset.Entry<E>> entryIterator() {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
AbstractMapBasedMultiset.java 88 Iterator<Entry<E>> entryIterator() {
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();
ImmutableMultimap.java 592 final Iterator<? extends Entry<?, V>> entryIterator
597 return entryIterator.hasNext();
601 return entryIterator.next().getValue();
  /external/guava/guava-tests/test/com/google/common/collect/
LinkedHashMultimapTest.java 96 Iterator<Map.Entry<String, Integer>> entryIterator =
98 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next());
99 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next());
100 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next());
101 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next());
102 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next());
MapsTransformValuesTest.java 230 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator();
231 entryIterator.next();
232 entryIterator.remove();
SimpleAbstractMultisetTest.java 85 Iterator<Entry<E>> entryIterator() {
MapsTransformValuesUnmodifiableIteratorTest.java 283 Iterator<Map.Entry<String, String>> entryIterator = entries.iterator();
284 entryIterator.next();
285 entryIterator.remove();
ConcurrentHashMultisetTest.java 266 // multiset.entryIterator
285 return multiset.entryIterator();
290 assertEquals(ImmutableSet.copyOf(elements), ImmutableSet.copyOf(multiset.entryIterator()));

Completed in 1155 milliseconds

1 2