- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testForSupplier (1.35 sec)
-
guava-tests/test/com/google/common/base/FunctionsTest.java
return this.value == ((CountingSupplier) obj).value; } return false; } @Override public int hashCode() { return value; } } public void testForSupplier() { Supplier<Integer> supplier = new CountingSupplier(); Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier); assertEquals(1, (int) function.apply(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
return this.value == ((CountingSupplier) obj).value; } return false; } @Override public int hashCode() { return value; } } public void testForSupplier() { Supplier<Integer> supplier = new CountingSupplier(); Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier); assertEquals(1, (int) function.apply(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0)