Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for giving (0.15 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param q the blocking queue to be drained
       * @param buffer where to add the transferred elements
       * @param numElements the number of elements to be waited for
       * @param timeout how long to wait before giving up, in units of {@code unit}
       * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
       * @return the number of elements transferred
       * @throws InterruptedException if interrupted while waiting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCollectorRequest.java

            }
    
            /**
             * Sets the direct dependencies. If both a root dependency and direct dependencies are given in the request, the
             * direct dependencies from the request will be merged with the direct dependencies from the root dependency's
             * artifact descriptor, giving higher priority to the dependencies from the request.
             *
             * @param dependencies the direct dependencies, may be {@code null}
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 11.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      }
    
      /**
       * Add a shutdown hook to wait for thread completion in the given {@link ExecutorService service}.
       * This is useful if the given service uses daemon threads, and we want to keep the JVM from
       * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate
       * normally.
       *
       * @param service ExecutorService which uses daemon threads
    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)
  4. android/guava/src/com/google/common/base/Preconditions.java

       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
       * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks.
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

       * take a principled stand on this, but the amount of such code is simply overwhelming. To avoid
       * creating a lot of compile errors that users would not find to be informative, we're giving in
       * and allowing callers to pass arguments that a nullness checker believes could be null.
       *
       * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks.
       */
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * given {@code Future}. If the given {@code Future} fails, the returned {@code Future} fails with
       * the same exception (and the function is not invoked).
       *
       * <p>More precisely, the returned {@code Future} takes its result from a {@code Future} produced
       * by applying the given {@code AsyncFunction} to the result of the original {@code Future}.
       * Example usage:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
        // having inconsistent iteration orderings.
        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ValueGraph.java

       *       involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
       *   <li>if {@code node} is re-added to the graph after having been removed, {@code view}'s
       *       behavior is undefined
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            for (ExecutionPlanItem executionPlanItem : planItem) {
                result.add(executionPlanItem.getMojoExecution());
            }
            return result;
        }
    
        /**
         * Get set of plugins having a goal/mojo used but not marked @threadSafe
         *
         * @return the set of plugins (without info on which goal is concerned)
         */
        public Set<Plugin> getNonThreadSafePlugins() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top