Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 453 for interfaces (0.27 sec)

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

     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
     * @author George van den Driessche
     */
    @Target(value = {java.lang.annotation.ElementType.ANNOTATION_TYPE})
    @Retention(value = RetentionPolicy.RUNTIME)
    @Documented
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

        private final Map<TypeVariableKey, Type> mappings = Maps.newHashMap();
    
        /**
         * Returns type mappings using type parameters and type arguments found in the generic
         * superclass and the super interfaces of {@code contextClass}.
         */
        static ImmutableMap<TypeVariableKey, Type> getTypeMappings(Type contextType) {
          checkNotNull(contextType);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

        return Reflection.newProxy(List.class, new SubHandler2(delegate));
      }
    
      private static Object newProxyWithEqualsForInterfaces(Class<?>... interfaces) {
        return Proxy.newProxyInstance(
            AbstractInvocationHandlerTest.class.getClassLoader(),
            interfaces,
            new DelegatingInvocationHandlerWithEquals("a string"));
      }
    
      private static class DelegatingInvocationHandler extends AbstractInvocationHandler
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionToStringTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Abstract superclass of all test-suite builders for collection interfaces.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class AbstractCollectionTestSuiteBuilder<
            B extends AbstractCollectionTestSuiteBuilder<B, E>, E>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionToStringTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Abstract superclass of all test-suite builders for collection interfaces.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class AbstractCollectionTestSuiteBuilder<
            B extends AbstractCollectionTestSuiteBuilder<B, E>, E>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       these guarantees to be violated).
     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/DeepInterfaceTest.java

        void declaredIn1AnnotatedInClass(Object o);
    
        void nowhereAnnotated(Object o);
      }
    
      interface Interface2 extends Interface1 {
        @Override
        @Subscribe
        void declaredIn1AnnotatedIn2(Object o);
    
        @Override
        @Subscribe
        void annotatedIn1And2(Object o);
    
        @Override
        @Subscribe
        void annotatedIn1And2AndClass(Object o);
    
        void declaredIn2AnnotatedInClass(Object o);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 08 21:35:40 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  9. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  @Override
                  public Sub apply(Sub sub) {
                    return new ForwardingSub(sub);
                  }
                });
      }
    
      interface Base {
        CharSequence getId();
      }
    
      interface Sub extends Base {
        @Override
        String getId();
      }
    
      private static class ForwardingSub implements Sub {
        private final Sub delegate;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top