Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for type (0.16 sec)

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

            CURRENT = JAVA6;
          }
        }
    
        abstract Type newArrayType(Type componentType);
    
        abstract Type usedInGenericType(Type type);
    
        final ImmutableList<Type> usedInGenericType(Type[] types) {
          ImmutableList.Builder<Type> builder = ImmutableList.builder();
          for (Type type : types) {
            builder.add(usedInGenericType(type));
          }
          return builder.build();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/MediaType.java

     * (also known as a MIME Type or Content Type). This class also supports the concept of media ranges
     * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1">defined by HTTP/1.1</a>.
     * As such, the {@code *} character is treated as a wildcard and is used to represent any acceptable
     * type or subtype value. A media type may not have wildcard type with a declared subtype. The
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        if (type.isArray()) {
          return createEmptyArray(type);
        }
        T jvmDefault = Defaults.defaultValue(Primitives.unwrap(type));
        if (jvmDefault != null) {
          return jvmDefault;
        }
        if (Modifier.isAbstract(type.getModifiers()) || !Modifier.isPublic(type.getModifiers())) {
          return arbitraryConstantInstanceOrNull(type);
        }
        final Constructor<T> constructor;
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

          if (types.length > 0 && mayNeedHiddenThis()) {
            Class<?>[] rawParamTypes = constructor.getParameterTypes();
            if (types.length == rawParamTypes.length
                && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) {
              // first parameter is the hidden 'this'
              return Arrays.copyOfRange(types, 1, types.length);
            }
          }
          return types;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/DiscreteDomain.java

       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
       *     {@link java.math.BigInteger}
       */
      @CanIgnoreReturnValue
      public C minValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

      private static void assertFreshInstances(Class<?>... types) {
        for (Class<?> type : types) {
          assertFreshInstance(type, 2);
        }
      }
    
      private static void assertFreshInstance(TypeToken<?> type) {
        assertFreshInstance(type, 3);
      }
    
      private static void assertFreshInstance(Class<?> type, int instances) {
        assertFreshInstance(TypeToken.of(type), instances);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableCollection.java

     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
     * case of (say) {@link HashSet}, which is an <i>implementation</i>, with semantics that were
     * largely defined by its supertype.
     *
     * <p>For field types and method return types, you should generally use the immutable type (such as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static boolean isCheckedException(Class<? extends Exception> type) {
        return !RuntimeException.class.isAssignableFrom(type);
      }
    
      @VisibleForTesting
      static void checkExceptionClassValidity(Class<? extends Exception> exceptionClass) {
        checkArgument(
            isCheckedException(exceptionClass),
            "Futures.getChecked exception type (%s) must not be a RuntimeException",
            exceptionClass);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          return new ParameterizedType() {
            @Override
            public Type[] getActualTypeArguments() {
              return new Type[] {new TypeCapture<P>() {}.capture()};
            }
    
            @Override
            public Type getOwnerType() {
              return new TypeCapture<O>() {}.capture();
            }
    
            @Override
            public Type getRawType() {
              return new TypeCapture<T>() {}.capture();
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          return new ParameterizedType() {
            @Override
            public Type[] getActualTypeArguments() {
              return new Type[] {new TypeCapture<P>() {}.capture()};
            }
    
            @Override
            public Type getOwnerType() {
              return new TypeCapture<O>() {}.capture();
            }
    
            @Override
            public Type getRawType() {
              return new TypeCapture<T>() {}.capture();
            }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
Back to top