- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for assignable (0.13 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <h3 id="Assignability">Assignability</h3> <p> A value <code>x</code> is <i>assignable</i> to a <a href="#Variables">variable</a> of type <code>T</code> ("<code>x</code> is assignable to <code>T</code>") if one of the following conditions applies: </p> <ul> <li> <code>x</code>'s type is identical to <code>T</code>. </li> <li>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 10 18:25:45 UTC 2024 - 211.6K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
int k = 0; int i = takeIndex; while (k < count) { // This cast is not itself safe, but the following statement // will fail if the runtime type of items[i] is not assignable // to the runtime type of a[k++], which is all that the method // contract requires (see @throws ArrayStoreException above). @SuppressWarnings("unchecked") T t = (T) items[i];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
src/builtin/builtin.go
func new(Type) *Type // The complex built-in function constructs a complex value from two // floating-point values. The real and imaginary parts must be of the same // size, either float32 or float64 (or assignable to them), and the return // value will be the corresponding complex type (complex64 for float32, // complex128 for float64). func complex(r, i FloatType) ComplexType
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 12.7K bytes - Viewed (0) -
doc/go_spec.html
defined type while the latter is a type literal (but they are still <a href="#Assignability">assignable</a>). </p> <h3 id="Assignability">Assignability</h3> <p> A value <code>x</code> of type <code>V</code> is <i>assignable</i> to a <a href="#Variables">variable</a> of type <code>T</code> ("<code>x</code> is assignable to <code>T</code>") if one of the following conditions applies: </p> <ul> <li>
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0) -
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-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
@GwtCompatible @ElementTypesAreNonnullByDefault public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object> extends TestCase { /** A key type that is not assignable to any classes but Object. */ private static final class IncompatibleKeyType { @Override public String toString() { return "IncompatibleKeyType"; } } protected final boolean supportsPut;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K 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) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
@GwtCompatible @ElementTypesAreNonnullByDefault public abstract class MapInterfaceTest<K extends @Nullable Object, V extends @Nullable Object> extends TestCase { /** A key type that is not assignable to any classes but Object. */ private static final class IncompatibleKeyType { @Override public String toString() { return "IncompatibleKeyType"; } } protected final boolean supportsPut;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K 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)