Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for work (0.13 sec)

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

       *
       * <p>Rather than override this method to perform additional cancellation work or cleanup,
       * subclasses should override {@link #afterDone}, consulting {@link #isCancelled} and {@link
       * #wasInterrupted} as necessary. This ensures that the work is done even if the future is
       * cancelled without a call to {@code cancel}, such as by calling {@code
       * setFuture(cancelledFuture)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

        TypeVariable<D> typeVariable =
            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
       * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
    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)
  3. README.md

    ## Links
    
    -   [GitHub project](https://github.com/google/guava)
    -   [Issue tracker: Report a defect or feature request](https://github.com/google/guava/issues/new)
    -   [StackOverflow: Ask "how-to" and "why-didn't-it-work" questions](https://stackoverflow.com/questions/ask?tags=guava+java)
    -   [guava-announce: Announcements of releases and upcoming significant changes](https://groups.google.com/group/guava-announce)
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       * desiredType}. The returned iterable's iterator does not support {@code remove()}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
       * This does perform a little more work than necessary, so another option is to insert an
       * unchecked cast at some later point:
       *
       * <pre>
       * {@code @SuppressWarnings("unchecked") // safe because of ::isInstance check
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * completion.
       *
       * <p>This method waits 120 seconds before continuing with JVM termination, even if the executor
       * has not finished its work.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    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)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

         *
         * So it makes sense for the parameter (and thus the return type) to be @CheckForNull.
         *
         * Two other points:
         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *     ImmutableSortedSet#copyOf(Comparable[])}.</b>
       */
      @DoNotCall("Pass parameters of type Comparable")
      @Deprecated
      // The usage of "Z" here works around bugs in Javadoc (JDK-8318093) and JDiff.
      public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) {
        throw new UnsupportedOperationException();
      }
    
      private static final long serialVersionUID = 0xdecaf;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * A builder for creating immutable sorted map instances, especially {@code public static final}
       * maps ("constant maps"). Example:
       *
       * <pre>{@code
       * static final ImmutableSortedMap<Integer, String> INT_TO_WORD =
       *     new ImmutableSortedMap.Builder<Integer, String>(Ordering.natural())
       *         .put(1, "one")
       *         .put(2, "two")
       *         .put(3, "three")
       *         .buildOrThrow();
       * }</pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
Back to top