- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 304 for hasNext (0.49 sec)
-
guava/src/com/google/common/collect/ImmutableMultimap.java
@CheckForNull K currentKey = null; Iterator<V> valueItr = Iterators.emptyIterator(); @Override public boolean hasNext() { return valueItr.hasNext() || asMapItr.hasNext(); } @Override public Entry<K, V> next() { if (!valueItr.hasNext()) { Entry<K, ? extends ImmutableCollection<V>> entry = asMapItr.next(); currentKey = entry.getKey();
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 25.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
} /** * Implementation for the EntryIterator, which is used to build Key and Value iterators. * * <p>Expiration is only checked on hasNext(), so as to ensure that a next() call never returns * null when hasNext() has already been called. */ class EntryIterator implements Iterator<Entry<K, V>> { Iterator<Entry<K, Timestamped<V>>> iterator; Entry<K, Timestamped<V>> lastEntry;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 21.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/versioning/ManagedVersionMap.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
this.iterator = iterable.iterator(); } @Override public boolean hasNext() { return true; // pretend that you have more... } @Override public E next() { // ...but throw an unchecked exception when you ask for it. if (!iterator.hasNext()) { throw new ThrowsAtEndException(); } return iterator.next(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
Set<N> seenNodes = new HashSet<>(); return new AbstractIterator<N>() { @Override @CheckForNull protected N computeNext() { while (nodeConnections.hasNext()) { NodeConnection<N> nodeConnection = nodeConnections.next(); boolean added = seenNodes.add(nodeConnection.node); if (added) { return nodeConnection.node;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 18K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/MappedCollection.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMultiset.java
* forward to this implementation. */ @CheckForNull protected Entry<E> standardFirstEntry() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); if (!entryIterator.hasNext()) { return null; } Entry<E> entry = entryIterator.next(); return Multisets.immutableEntry(entry.getElement(), entry.getCount()); } @Override @CheckForNull
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 8.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} // If we have a routes left, use 'em. if (routeSelection?.hasNext() == true) return true // If we haven't initialized the route selector yet, assume it'll have at least one route. val localRouteSelector = routeSelector ?: return true // If we do have a route selector, use its routes. return localRouteSelector.hasNext() } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedMultiset.java
public Entry<E> firstEntry() { Iterator<Entry<E>> entryIterator = entryIterator(); return entryIterator.hasNext() ? entryIterator.next() : null; } @Override @CheckForNull public Entry<E> lastEntry() { Iterator<Entry<E>> entryIterator = descendingEntryIterator(); return entryIterator.hasNext() ? entryIterator.next() : null; } @Override @CheckForNull public Entry<E> pollFirstEntry() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jun 26 21:02:13 GMT 2023 - 4.6K bytes - Viewed (0)