- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for supertypeOf (0.07 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java
public ClassDocSuperTypeBuilder(DslDocModel model, GenerationListener listener) { this.model = model; this.listener = listener; } /** * Builds and attaches the supertypes of the given class */ void build(ClassDoc classDoc) { ClassMetaData classMetaData = classDoc.getClassMetaData(); String superClassName = classMetaData.getSuperClassName();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType)) .isTrue(); if (!spec.suppressGetSubtype()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 6.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
* array. If any method encounters the end of the array prematurely, it throws {@link * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation * of the supertype's contract, which specifies a checked exception. * * @author Kevin Bourrillion * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
Invokable<T, R1> specialized = (Invokable<T, R1>) this; return specialized; } @SuppressWarnings("unchecked") // The declaring class is T's raw class, or one of its supertypes. @Override public final Class<? super T> getDeclaringClass() { return (Class<? super T>) member.getDeclaringClass(); } /** Returns the type of {@code T}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataInput.java
* array. If any method encounters the end of the array prematurely, it throws {@link * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violation * of the supertype's contract, which specifies a checked exception. * * @author Kevin Bourrillion * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too * strict, use {@link #reserialize}. * * @return the re-serialized object
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
try { Method unused = clazz.getDeclaredMethod("writeReplace"); continue; // It overrides writeReplace, so it's safe. } catch (NoSuchMethodException e) { // This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace = FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
this.pattern = Preconditions.checkNotNull(pattern); } /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
try { Method unused = clazz.getDeclaredMethod("writeReplace"); continue; // It overrides writeReplace, so it's safe. } catch (NoSuchMethodException e) { // This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace = FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* object. * * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional} * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot * share a common supertype). <i>All</i> known differences are listed either here or with the * relevant methods below. * * <ul> * <li>This class is serializable; {@code java.util.Optional} is not.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0)