Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for IsInterface (0.12 sec)

  1. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
        if (rawType.isInterface()) {
          return new SerializableDummyProxy(this).newProxy(type);
        }
        return null;
      }
    
      private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          final TypeToken<F> convertFromType, final TypeToken<T> convertToType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg go/types, func ExprString(ast.Expr) string
    pkg go/types, func Id(*Package, string) string
    pkg go/types, func Identical(Type, Type) bool
    pkg go/types, func Implements(Type, *Interface) bool
    pkg go/types, func IsInterface(Type) bool
    pkg go/types, func LookupFieldOrMethod(Type, bool, *Package, string) (Object, []int, bool)
    pkg go/types, func MissingMethod(Type, *Interface, bool) (*Func, bool)
    pkg go/types, func NewArray(Type, int64) *Array
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/InetAddresses.java

          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

          }
          try {
            NetworkInterface asInterface = NetworkInterface.getByName(scope);
            if (asInterface == null) {
              throw formatIllegalArgumentException("No such interface: '%s'", scope);
            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top