Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for simple (0.17 sec)

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

      @ParametricNullness
      private V getDoneValue(Object obj) throws ExecutionException {
        // While this seems like it might be too branch-y, simple benchmarking proves it to be
        // unmeasurable (comparing done AbstractFutures with immediateFuture)
        if (obj instanceof Cancellation) {
    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/base/Preconditions.java

     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
     * <p>See the Guava User Guide on <a
     * href="https://github.com/google/guava/wiki/PreconditionsExplained">using {@code
     * Preconditions}</a>.
    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)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
         * IllegalArgumentException here, in part to keep its recommendation simple: Static methods
         * should throw IllegalStateException only when they use static state.
         *
         * Why do we deviate here? The answer: We want for fluentFuture.getDone() to throw the same
    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)
  4. android/guava/src/com/google/common/collect/Sets.java

       * all elements that are contained by {@code set1} and not contained by {@code set2}. {@code set2}
       * may also contain elements not present in {@code set1}; these are simply ignored. The iteration
       * order of the returned set matches that of {@code set1}.
       *
       * <p>Results are undefined if {@code set1} and {@code set2} are sets based on different
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

     * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
     * behave as expected, and will still include all argument values in the error message; the message
     * will simply not be formatted exactly as intended.
     *
     * <h3>More information</h3>
     *
     * <p>See the Guava User Guide on <a
     * href="https://github.com/google/guava/wiki/PreconditionsExplained">using {@code
     * Preconditions}</a>.
    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)
  7. guava/src/com/google/common/cache/CacheBuilder.java

       * weigher already provided; the {@code CacheBuilder} type cannot do this. For best results,
       * simply use the standard method-chaining idiom, as illustrated in the documentation at top,
       * configuring a {@code CacheBuilder} and building your {@link Cache} all in a single statement.
       *
       * <p><b>Warning:</b> if you ignore the above advice, and use this {@code CacheBuilder} to build a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Iterators.java

            return iterator.hasNext();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

       * are thus excluded from consideration. Since it refers to elements in UNDER of the same type,
       * the type is actually not important here. The map is simply used for consistency reasons.
       */
      public static final ImmutableMap<String, PublicSuffixType> EXCLUDED =
          TrieParser.parseTrie(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Iterators.java

            return iterator.hasNext();
          }
    
          @Override
          @ParametricNullness
          public T next() {
            return iterator.next();
          }
        };
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 10.0
       */
      @Deprecated
      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
Back to top