Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 314 for interfaces (0.41 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-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)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
          // Under java 8, interfaces can have default methods that aren't abstract.
          // No need to verify them.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ComparisonChain.java

       *
       * <p>This method is declared to accept any 2 {@code Comparable} objects, even if they are not <a
       * href="https://docs.oracle.com/javase/tutorial/collections/interfaces/order.html">mutually
       * comparable</a>. If you pass objects that are not mutually comparable, this method may throw an
       * exception. (The reason for this decision is lost to time, but the reason <i>might</i> be that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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/collect/SetMultimap.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface SetMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends Multimap<K, V> {
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
       * {@link Set}, instead of the {@link java.util.Collection} specified in the {@link Multimap}
       * interface.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/LongAddable.java

     * the License.
     */
    
    package com.google.common.hash;
    
    
    /**
     * Abstract interface for objects that can concurrently add longs.
     *
     * @author Louis Wasserman
     */
    @ElementTypesAreNonnullByDefault
    interface LongAddable {
      void increment();
    
      void add(long x);
    
      long sum();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 850 bytes
    - Viewed (0)
Back to top