- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for Food (0.16 sec)
-
guava-tests/test/com/google/common/eventbus/EventBusTest.java
@Subscribe public void eat(Object food) { objectEvents.add(food); } }; final List<Comparable<?>> compEvents = Lists.newArrayList(); Object compCatcher = new Object() { @SuppressWarnings("unused") @Subscribe public void eat(Comparable<?> food) { compEvents.add(food); } };
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
@Subscribe public void eat(Object food) { objectEvents.add(food); } }; final List<Comparable<?>> compEvents = Lists.newArrayList(); Object compCatcher = new Object() { @SuppressWarnings("unused") @Subscribe public void eat(Comparable<?> food) { compEvents.add(food); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
public void testSerializableOnReturnValues_good() throws Exception { tester.forAllPublicStaticMethods(GoodSerializableFactory.class).testSerializable(); } public static class GoodSerializableFactory { public static Object good(Runnable r) { return r; } public static Object good(AnInterface i) { return i; } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 36.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.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
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 4.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
state = other.state; notifyAndClearListeners(); return; } /* * Almost everything in GWT is an AbstractFuture (which is as good as TrustedFuture under * GWT). But ImmediateFuture and UncheckedThrowingFuture aren't, so we still need this case. */ try { forceSet(getDone(delegate));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableLongArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() { ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3); assertThat(iia.get(0)).isEqualTo(0L); assertThat(iia.get(2)).isEqualTo(3L); assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3L); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue(); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse(); } public void testGet_good() { ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3); assertThat(iia.get(0)).isEqualTo(0.0); assertThat(iia.get(2)).isEqualTo(3.0); assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3.0); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 21.3K bytes - Viewed (0)