- Sort Score
- Num 10 results
- Language All
Results 1371 - 1380 of 2,287 for Text (0.04 seconds)
-
guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java
assertThrows(NoSuchElementException.class, iterator::next); assertThrows(IllegalStateException.class, iterable::iterator); } public void testOf_one() { Iterable<String> iterable = MinimalIterable.of("a"); Iterator<String> iterator = iterable.iterator(); assertTrue(iterator.hasNext()); assertEquals("a", iterator.next()); assertFalse(iterator.hasNext());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThat(iterator.next()).isEqualTo("b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); } @SuppressWarnings("DoNotCall") public void testAdd() { ListIterator<String> iterator = create(); assertTrue(iterator.hasNext()); assertThat(iterator.next()).isEqualTo("a"); assertThat(iterator.next()).isEqualTo("b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3K bytes - Click Count (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
*/ public abstract @Nullable C previous(C value); /** * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}. * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3} * and {@code distance(end, start) == -3}. As well, {@code distance(a, a)} is always zero. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
/** The element */ protected E element; /** The next entry */ protected Entry next; /** The previous entry */ protected Entry previous; Entry(final E element, final Entry next, final Entry previous) { this.element = element; this.next = next; this.previous = previous; } /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 10.5K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertFalse(iterator3.hasNext(), "Third instance should have no elements"); assertNull(iterator1.next(), "First instance next() should return null"); assertNull(iterator2.next(), "Second instance next() should return null"); assertNull(iterator3.next(), "Third instance next() should return null"); } catch (CIFSException e) { throw new RuntimeException(e); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
assertRoute(selection.next(), address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort) assertThat(selection.hasNext()).isFalse() assertFailsWith<NoSuchElementException> { selection.next() } assertThat(routeSelector.hasNext()).isFalse() assertFailsWith<NoSuchElementException> { routeSelector.next() } } @Test fun explicitProxyTriesThatProxysAddressesOnly() { val address =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Integer.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Object.class))); assertThat(it.hasNext(), is(not(true))); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMakerInternalMap.java
private final StrongKeyStrongValueEntry<K, V> next; LinkedStrongKeyStrongValueEntry(K key, int hash, StrongKeyStrongValueEntry<K, V> next) { super(key, hash); this.next = next; } @Override public StrongKeyStrongValueEntry<K, V> getNext() { return next; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 89.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
return; } if (map.size() < 2 || !supportsPut) { return; } Iterator<Entry<K, V>> iterator = map.entrySet().iterator(); Entry<K, V> firstEntry = iterator.next(); Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 17 20:00:30 GMT 2024 - 3.9K bytes - Click Count (0)