- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for Bob (0.25 seconds)
-
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals(-1, Iterables.indexOf(list, equalTo("jack"))); } public void testIndexOf_withDuplicates() { List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam"); assertEquals(0, Iterables.indexOf(list, equalTo("mary"))); assertEquals(1, Iterables.indexOf(list, equalTo("bob"))); assertEquals(4, Iterables.indexOf(list, equalTo("sam")));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
public void testOf_null() { assertThrows(NullPointerException.class, () -> Optional.of(null)); } public void testFromNullable() { Optional<String> optionalName = Optional.fromNullable("bob"); assertThat(optionalName.get()).isEqualTo("bob"); } public void testFromNullable_null() { // not promised by spec, but easier to test assertThat(Optional.fromNullable(null)).isSameInstanceAs(Optional.absent()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import org.junit.After; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ @J2ktIncompatible @GwtIncompatible @RunWith(JUnit4.class) @NullUnmarked public class FinalizableReferenceQueueTest { private @Nullable FinalizableReferenceQueue frq; @AfterCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 27 21:20:19 GMT 2026 - 8.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
params1.put("name", "Alice"); final Map<String, Object> params2 = new HashMap<>(); params2.put("name", "Bob"); assertEquals("Alice", groovyEngine.evaluate("return name", params1)); assertEquals("Bob", groovyEngine.evaluate("return name", params2)); assertEquals("Alice", groovyEngine.evaluate("return name", params1)); } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
return new SampleElements<>( mapEntry("a", (Collection<String>) ImmutableSortedSet.of("alex")), mapEntry("b", (Collection<String>) ImmutableSortedSet.of("bob", "bagel")), mapEntry("c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")), mapEntry("d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
* garbage-collected. That's why we are careful to make a {@code Runnable} that does not have a * reference to any {@code MyServer} instance. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public class FinalizableReferenceQueue implements Closeable { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
* garbage-collected. That's why we are careful to make a {@code Runnable} that does not have a * reference to any {@code MyServer} instance. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public class FinalizableReferenceQueue implements Closeable { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
return new SampleElements<>( mapEntry("a", (Collection<String>) ImmutableSortedSet.of("alex")), mapEntry("b", (Collection<String>) ImmutableSortedSet.of("bob", "bagel")), mapEntry("c", (Collection<String>) ImmutableSortedSet.of("carl", "carol")), mapEntry("d", (Collection<String>) ImmutableSortedSet.of("david", "dead")),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testIndexOf_consumedDataNoMatch() { Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator(); assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob"))); assertFalse(iterator.hasNext()); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testUnmodifiableIteratorShortCircuit() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testIndexOf_consumedDataNoMatch() { Iterator<String> iterator = Lists.newArrayList("manny", "mo", "mo", "jack").iterator(); assertEquals(-1, Iterators.indexOf(iterator, equalTo("bob"))); assertFalse(iterator.hasNext()); } @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testUnmodifiableIteratorShortCircuit() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0)