Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for argument (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * @param service the {@code ExecutorService} to shut down
       * @param timeout the maximum time to wait for the {@code ExecutorService} to terminate
       * @param unit the time unit of the timeout argument
       * @return {@code true} if the {@code ExecutorService} was terminated successfully, {@code false}
       *     if the call timed out or was interrupted
       * @since 17.0
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return response;
      }
    
      private Object invokeMethod(String methodName, Object... arguments) throws Exception {
        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Doubles.java

      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code double}
       * value in the manner of {@link Number#doubleValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Number} instances
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Types.java

        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
      }
    
      /** Returns a type where {@code rawType} is parameterized by {@code arguments}. */
      static ParameterizedType newParameterizedType(Class<?> rawType, Type... arguments) {
        return new ParameterizedTypeImpl(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code int} value
       * in the manner of {@link Number#intValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * @param collection a collection of {@code Number} instances
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

      private static final class TypeMappingIntrospector extends TypeVisitor {
    
        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)
  7. android/guava/src/com/google/common/math/LongMath.java

       * 0}.
       *
       * @throws IllegalArgumentException if {@code a < 0} or {@code b < 0}
       */
      public static long gcd(long a, long b) {
        /*
         * The reason we require both arguments to be >= 0 is because otherwise, what do you return on
         * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an
         * int.
         */
        checkNonNegative("a", a);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/DoubleMath.java

        }
        return mean;
      }
    
      @GwtIncompatible // com.google.common.math.DoubleUtils
      @CanIgnoreReturnValue
      private static double checkFinite(double argument) {
        checkArgument(isFinite(argument));
        return argument;
      }
    
      private DoubleMath() {}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterables.java

          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <E> Iterable<E> unmodifiableIterable(ImmutableCollection<E> iterable) {
        return checkNotNull(iterable);
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

         * FluentIterable<FluentIterableTest.A> is not applicable for the arguments
         * (Iterable<FluentIterableTest.B>)
         */
        // FluentIterable.from(aIterable).append(bIterable);
    
        /* The following fails to compile:
         *
         * The method filter(Predicate<? super Object>) in the type FluentIterable<Object> is not
         * applicable for the arguments (Predicate<FluentIterableTest.X>)
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
Back to top