- Sort Score
- Result 10 results
- Languages All
Results 41 - 44 of 44 for isSubtype (0.18 sec)
-
android/guava/src/com/google/common/reflect/Invokable.java
* * <p>In addition to convenience methods, {@link TypeToken#method} and {@link TypeToken#constructor} * will resolve the type parameters of the method or constructor in the context of the owner type, * which may be a subtype of the declaring class. For example: * * <pre>{@code * Method getMethod = List.class.getMethod("get", int.class); * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ClassToInstanceMap.java
* Returns the value the specified class is mapped to, or {@code null} if no entry for this class * is present. This will only return a value that was bound to this specific class, not a value * that may have been bound to a subtype. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Sat Jun 17 14:40:53 GMT 2023 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
* @throws NullPointerException if any of {@code elements} is null */ public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { // Hack around E not being a subtype of Comparable. // Unsafe, see ImmutableSortedMultisetFauxverideShim. @SuppressWarnings("unchecked") Ordering<E> naturalOrder = (Ordering<E>) Ordering.<Comparable<?>>natural();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 35.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Predicates.java
return new InstanceOfPredicate<>(clazz); } /** * Returns a predicate that evaluates to {@code true} if the class being tested is assignable to * (is a subtype of) {@code clazz}. Example: * * <pre>{@code * List<Class<?>> classes = Arrays.asList( * Object.class, String.class, Number.class, Long.class);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0)