- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 695 for asText (0.04 sec)
-
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
emptyIterator.remove(); } /** * Test method for * {@link org.codelibs.core.collection.EmptyIterator#hasNext()}. */ @Test public void testHasNext() { final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); assertThat(emptyIterator.hasNext(), is(false)); } /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#next()}. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/MultiIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Foo")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Bar")); assertThat(it.hasNext(), is(true)); assertThat(it.next(), is("Baz")); assertThat(it.hasNext(), is(not(true))); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
* * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty * ranges {@code [3..3)} and {@code [4..4)}. * * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a largeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
Iterator<Subscriber> empty = registry.getSubscribers(""); assertFalse(empty.hasNext()); empty = registry.getSubscribers(""); registry.register(s1); assertFalse(empty.hasNext()); Iterator<Subscriber> one = registry.getSubscribers(""); assertEquals(s1, one.next().target); assertFalse(one.hasNext()); one = registry.getSubscribers(""); registry.register(s2);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
import static org.codelibs.core.io.LineIterator.iterable; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; import java.io.StringReader; import java.util.List; import org.junit.Test; /** * @author wyukawa * */ public class IndexedIteratorTest { /** * @throws ExceptionRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
// Act & Assert: entries a, b, c (dot entries filtered) then end assertTrue(it.hasNext()); assertEquals("a", it.next().getName()); assertTrue(it.hasNext()); assertEquals("b", it.next().getName()); assertTrue(it.hasNext()); assertEquals("c", it.next().getName()); assertFalse(it.hasNext()); // Verify interactionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
vector.add("a"); final EnumerationIterator<String> itr = new EnumerationIterator<String>(vector.elements()); assertThat(itr.hasNext(), is(true)); assertThat(itr.next(), is("a")); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test public void testRemove() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
public String toString() { return toString; } } Stimulus<E, Iterator<E>> hasNext = new Stimulus<E, Iterator<E>>("hasNext") { @Override void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { assertEquals(reference.hasNext(), target.hasNext()); } }; Stimulus<E, Iterator<E>> next = new Stimulus<E, Iterator<E>>("next") {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@Override public void execute(Runnable command) { tasks.add(command); } boolean hasNext() { return !tasks.isEmpty(); } void runNext() { assertTrue("expected at least one task to run", hasNext()); tasks.remove().run(); } void runAll() { while (hasNext()) { runNext(); } } } private FakeExecutor fakePool;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
public String toString() { return toString; } } Stimulus<E, Iterator<E>> hasNext = new Stimulus<E, Iterator<E>>("hasNext") { @Override void executeAndCompare(ListIterator<E> reference, Iterator<E> target) { assertEquals(reference.hasNext(), target.hasNext()); } }; Stimulus<E, Iterator<E>> next = new Stimulus<E, Iterator<E>>("next") {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0)