- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 861 for Operator (0.05 seconds)
-
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} public void testIteratorPastEndException() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.addAll(Lists.newArrayList(1, 2)); Iterator<Integer> it = mmHeap.iterator(); assertTrue("Iterator has reached end prematurely", it.hasNext()); it.next(); it.next(); assertThrows(NoSuchElementException.class, () -> it.next()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
import java.io.InputStream; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An {@link InputStream} that concatenates multiple substreams. At most one stream will be open at * a time. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatible @GwtIncompatible final class MultiInputStream extends InputStream { private final Iterator<? extends ByteSource> it;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
succeedsInValueSet(lastEntry, newEntry); lastEntry = newEntry; } private int mask() { return hashTable.length - 1; } @Override public Iterator<V> iterator() { return new Iterator<V>() { @Nullable ValueEntry<K, V> nextEntry = firstEntry; @Nullable ValueEntry<K, V> toRemove; int expectedModCount = modCount;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
succeedsInValueSet(lastEntry, newEntry); lastEntry = newEntry; } private int mask() { return hashTable.length - 1; } @Override public Iterator<V> iterator() { return new Iterator<V>() { @Nullable ValueEntry<K, V> nextEntry = firstEntry; @Nullable ValueEntry<K, V> toRemove; int expectedModCount = modCount;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
} @Override public SortedMultiset<E> descendingMultiset() { return new StandardDescendingMultiset() { @Override Iterator<Entry<E>> entryIterator() { return backingMultiset.descendingMultiset().entrySet().iterator(); } }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java
if (!logger.isDebugEnabled()) { return; } logger.debug("=== REACTOR BUILD PLAN ================================================"); for (Iterator<ProjectSegment> it = projectBuilds.iterator(); it.hasNext(); ) { ProjectSegment projectBuild = it.next(); logger.debug("Project: " + projectBuild.getProject().getId());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
public void testRemoveAllSomePresentConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); iterator.next(); }); } /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 7.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
} void setValue(@ParametricNullness V value) { checkState(current != null); current.setValue(value); } } /** An {@code Iterator} over distinct keys in key head order. */ private final class DistinctKeyIterator implements Iterator<K> { final Set<K> seenKeys = Sets.newHashSetWithExpectedSize(keySet().size()); @Nullable Node<K, V> next = head; @Nullable Node<K, V> current;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 27K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
} @Override public int hashCode() { return delegate().hashCode(); } /** * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}. * If you override {@code iterator} or {@code remove}, you may wish to override {@link #removeAll} * to forward to this implementation. * * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/MutableClassToInstanceMap.java
MutableClassToInstanceMap::checkedEntry); } @Override public Iterator<Entry<Class<? extends @NonNull B>, B>> iterator() { return new TransformedIterator< Entry<Class<? extends @NonNull B>, B>, Entry<Class<? extends @NonNull B>, B>>( delegate().iterator()) { @Override Entry<Class<? extends @NonNull B>, B> transform(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 7.1K bytes - Click Count (0)