Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for superclasses (1.52 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/SubscriberRegistry.java

      /**
       * Flattens a class's type hierarchy into a set of {@code Class} objects including all
       * superclasses (transitively) and all interfaces implemented by these superclasses.
       */
      @VisibleForTesting
      static ImmutableSet<Class<?>> flattenHierarchy(Class<?> concreteClass) {
        return flattenHierarchyCache.getUnchecked(concreteClass);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ClassIterator.java

    import org.codelibs.core.exception.ClUnsupportedOperationException;
    import org.codelibs.core.message.MessageFormatter;
    
    /**
     * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.lang.ClassIterator.*;
     *
     * Class&lt;?&gt; someClass = ...;
     * for (Class&lt;?&gt; clazz : iterable(someClass)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * "inherited" from superclasses of the same package.
       */
      public void testAllPublicStaticMethods(Class<?> c) {
        testStaticMethods(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at
       * least {@code minimalVisibility}, including those inherited from superclasses of the same
       * package.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/FauxveridesTest.java

    import java.util.Set;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in
     * each immutable-collection class. This ensures, for example, that a call written "{@code
     * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/EventBus.java

     *
     * <p>Events are routed based on their type &mdash; an event will be delivered to any subscriber for
     * any type to which the event is assignable. This includes implemented interfaces, all
     * superclasses, and all interfaces implemented by superclasses.
     *
     * <p>When {@code post} is called, all registered subscribers for an event are run in sequence, so
     * subscribers should be reasonably quick. If an event may trigger an extended process (such as a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
      }
    
      /**
       * Tests that events are distributed to any subscribers to their type or any supertype, including
       * interfaces and superclasses.
       *
       * <p>Also checks delivery ordering in such cases.
       */
      public void testPolymorphicDistribution() {
        // Three catchers for related types String, Object, and Comparable<?>.
        // String isa Object
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Returns an object responsible for performing sanity tests against the return values of all
       * public static methods declared by {@code cls}, excluding superclasses.
       */
      public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) {
        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      }
    
      /**
       * Returns an object responsible for performing sanity tests against the return values of all
       * public static methods declared by {@code cls}, excluding superclasses.
       */
      public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) {
        ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder();
        for (Method method : cls.getDeclaredMethods()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top