Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,891 for interfaces (0.2 sec)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

          ImmutableSet<TypeToken<? super T>> result = interfaces;
          if (result == null) {
            return (interfaces =
                FluentIterable.from(allTypes).filter(TypeFilter.INTERFACE_ONLY).toSet());
          } else {
            return result;
          }
        }
    
        @Override
        public TypeSet interfaces() {
          return this;
        }
    
        @Override
        public Set<Class<? super T>> rawTypes() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            interfaceMap);
      }
    
      private interface Interface1 {}
    
      private interface Interface2 {}
    
      private interface Interface3<T> extends Iterable<T> {}
    
      private interface Interface12 extends Interface1, Interface2 {}
    
      private static class Class1 implements Interface1 {}
    
      private static final class NoInterface {}
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            }
        }
    
        private List<String> filterChangesToReport(CtClass c, Map<String, CtClass> interfaces) {
            return interfaces.values().findAll { implementedDirectly(it, c) && addedInterfaceIsIncubatingOrInternal(it, c) }*.name.sort()
        }
    
        private boolean implementedDirectly(CtClass interf, CtClass c) {
            return c.interfaces.any { it.name == interf.name }
        }
    
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassExtension(ClassExtensionDoc extensionDoc) {
            classExtensions.add(extensionDoc)
        }
    
        List<ClassDoc> getSuperTypes() {
            return superClass == null ? interfaces : [superClass] + interfaces
        }
    
        Element getClassSection() { return classSection }
    
        Element getPropertiesTable() { return propertiesTable }
    
        def getPropertiesSection() { return propertiesSection }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  5. 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)
  6. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

    | ResponseBody.create(String)         | String.toResponseBody()         |
    
    
    SAM Conversions
    ---------------
    
    When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin
    lambdas. The [feature][java_sams] is available for interfaces that define a Single Abstract Method
    (SAM).
    
    But when you use Kotlin APIs from Kotlin there’s no automatic conversion. Code that used SAM lambdas
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            List<ClassMetaData> interfaces = new ArrayList<ClassMetaData>();
            for (String interfaceName : interfaceNames) {
                ClassMetaData interfaceMetaData = metaDataRepository.find(interfaceName);
                if (interfaceMetaData != null) {
                    interfaces.add(interfaceMetaData);
                }
            }
            return interfaces;
        }
    
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                    throw e.getCause();
                }
            };
            Class<T> superType = (Class<T>) key.getTypeLiteral().getRawType();
            Class<?>[] interfaces = getInterfaces(superType);
            return (T) java.lang.reflect.Proxy.newProxyInstance(superType.getClassLoader(), interfaces, dispatcher);
        }
    
        private Class<?>[] getInterfaces(Class<?> superType) {
            if (superType.isInterface()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top