Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for prefer (0.15 sec)

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

          System.arraycopy(other.values, 0, this.values, this.size, other.size);
          size += other.size;
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
    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)
  2. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p>The returned navigable set will be serializable if the specified navigable set is
       * serializable.
       *
       * <p><b>Java 8+ users and later:</b> Prefer {@link Collections#unmodifiableNavigableSet}.
       *
       * @param set the navigable set for which an unmodifiable view is to be returned
       * @return an unmodifiable view of the specified navigable set
       * @since 12.0
    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)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     different kind of exception, that exception itself. To avoid hiding bugs and other
       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if {@code input} fails with the expected
    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. guava/src/com/google/common/collect/ImmutableSortedMap.java

        Builder<K, V> combine(ImmutableMap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * Returns a newly-created immutable sorted map.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys. The {@code build()} method will soon be
         * deprecated.
         *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * method is invoked automatically by a successful call to {@link #cancel(boolean) cancel(true)}.
       *
       * <p>The default implementation does nothing.
       *
       * <p>This method is likely to be deprecated. Prefer to override {@link #afterDone}, consulting
       * {@link #wasInterrupted} to decide whether to interrupt your task.
       *
       * @since 10.0
       */
      protected void interruptTask() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.annotation.CheckForNull;
    
    /**
     * A builder of {@link LoadingCache} and {@link Cache} instances.
     *
     * <h2>Prefer <a href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a> over Guava's caching
     * API</h2>
     *
     * <p>The successor to Guava's caching API is <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)
  7. android/guava/src/com/google/common/collect/Synchronized.java

     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
     * anyway, so we just need to get by without the annotations here until Kotlin better understands
     * our other nullness annotations.
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                          throws Exception {
                        closer.eventuallyClose(closeable1, closingExecutor);
                        assertThat(peeker.getDone(input1)).isSameInstanceAs("value1");
                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker should fail for failed inputs");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                          throws Exception {
                        closer.eventuallyClose(closeable1, closingExecutor);
                        assertThat(peeker.getDone(input1)).isSameInstanceAs("value1");
                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker should fail for failed inputs");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
Back to top