- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for assignable (0.11 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testisSupertypeOf_resolved() { assertFalse(Assignability.of().isAssignable()); assertTrue(new Assignability<Integer, Integer>() {}.isAssignable()); assertTrue(new Assignability<Integer, Object>() {}.isAssignable()); assertFalse(new Assignability<Integer, String>() {}.isAssignable()); TypeTokenTest.<Number, Integer>assignabilityTestWithTypeVariables(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testisSupertypeOf_resolved() { assertFalse(Assignability.of().isAssignable()); assertTrue(new Assignability<Integer, Integer>() {}.isAssignable()); assertTrue(new Assignability<Integer, Object>() {}.isAssignable()); assertFalse(new Assignability<Integer, String>() {}.isAssignable()); TypeTokenTest.<Number, Integer>assignabilityTestWithTypeVariables(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
*/ public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture( @ParametricNullness V value) { if (value == null) { // This cast is safe because null is assignable to V for all V (i.e. it is bivariant) @SuppressWarnings("unchecked") ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL; return typedNull; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Futures.java
*/ public static <V extends @Nullable Object> ListenableFuture<V> immediateFuture( @ParametricNullness V value) { if (value == null) { // This cast is safe because null is assignable to V for all V (i.e. it is bivariant) @SuppressWarnings("unchecked") ListenableFuture<V> typedNull = (ListenableFuture<V>) ImmediateFuture.NULL; return typedNull; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 64.4K bytes - Viewed (0)