- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testOfInstanceSuppliesNull (0.14 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Supplier<Object> objectSupplier = Suppliers.ofInstance(toBeSupplied); assertSame(toBeSupplied, objectSupplier.get()); assertSame(toBeSupplied, objectSupplier.get()); // idempotent } public void testOfInstanceSuppliesNull() { Supplier<@Nullable Integer> nullSupplier = Suppliers.ofInstance(null); assertNull(nullSupplier.get()); } @J2ktIncompatible @GwtIncompatible // Thread
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
Supplier<Object> objectSupplier = Suppliers.ofInstance(toBeSupplied); assertSame(toBeSupplied, objectSupplier.get()); assertSame(toBeSupplied, objectSupplier.get()); // idempotent } public void testOfInstanceSuppliesNull() { Supplier<@Nullable Integer> nullSupplier = Suppliers.ofInstance(null); assertNull(nullSupplier.get()); } @J2ktIncompatible @GwtIncompatible // Thread
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0)