- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,228 for ipIterator (0.24 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/collections/ListElementSource.java
ListIterator<T> iterator = listIterator(); while (iterator.previousIndex() < index && iterator.hasNext()) { iterator.next(); } return iterator; } @Override public void add(int index, T element) { modCount++; ListIterator<T> iterator = iteratorAt(index - 1); if (iterator.nextIndex() == index) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 02 15:12:15 UTC 2023 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
@Override public @Nullable Object execute(Iterator<?> iterator) { iterator.remove(); return null; } }; private static final IteratorOperation NEXT_METHOD = new IteratorOperation() { @Override public @Nullable Object execute(Iterator<?> iterator) { return iterator.next(); } };
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/StandardTable.java
Map<R, V> output = new LinkedHashMap<>(); Iterator<Entry<R, Map<C, V>>> iterator = backingMap.entrySet().iterator(); while (iterator.hasNext()) { Entry<R, Map<C, V>> entry = iterator.next(); V value = entry.getValue().remove(column); if (value != null) { output.put(entry.getKey(), value); if (entry.getValue().isEmpty()) { iterator.remove(); } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 29.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
assertFalse(getMap().entrySet().iterator().hasNext()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testClearConcurrentWithEntrySetIteration() { try { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); getMap().clear(); iterator.next(); fail("Expected ConcurrentModificationException");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 3.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
try { iterator.next(); fail(); } catch (NoSuchElementException expected) { } try { iterable.iterator(); fail(); } catch (IllegalStateException expected) { } } public void testOf_one() { Iterable<String> iterable = MinimalIterable.of("a"); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
public: typedef ParamIterator<T> iterator; explicit ParamGenerator(ParamGeneratorInterface<T>* impl) : impl_(impl) {} ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {} ParamGenerator& operator=(const ParamGenerator& other) { impl_ = other.impl_; return *this; } iterator begin() const { return iterator(impl_->Begin()); } iterator end() const { return iterator(impl_->End()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.checkerframework.checker.nullness.qual.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
@Override protected Iterator<E> newTargetIterator() { resetCollection(); return collection.iterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); } public void testIteratorNoSuchElementException() { Iterator<E> iterator = collection.iterator(); while (iterator.hasNext()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/IteratorEnumeration.java
*/ public IteratorEnumeration(final Iterator<T> iterator) { assertArgumentNotNull("iterator", iterator); this.iterator = iterator; } /** * {@link IteratorEnumeration}を作成します。 * * @param iterable * 反復可能なオブジェクト。{@literal null}であってはいけません */ public IteratorEnumeration(final Iterable<T> iterable) { assertArgumentNotNull("iterable", iterable);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0)