Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for much (0.14 sec)

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

    /**
     * Computes a value, possibly asynchronously. For an example usage and more information, see {@link
     * Futures.FutureCombiner#callAsync(AsyncCallable, java.util.concurrent.Executor)}.
     *
     * <p>Much like {@link java.util.concurrent.Callable}, but returning a {@link ListenableFuture}
     * result.
     *
     * @since 20.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 14 15:53:12 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

     * arbitrary Charset.
     *
     * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer},
     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
     * "pull" as much data as they can handle, which is more convenient when dealing with flow
     * controlled, async APIs.
     *
     * @author Chris Nokleberg
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
       * call to {@code shutdown} or {@code shutdownNow} may result in concurrent calls to {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

     * }
     * }</pre>
     *
     * ... produces output such as:
     *
     * <pre>{@code
     * Zachary: [Taylor]
     * John: [Adams, Adams, Tyler, Kennedy]  // Remember, Quincy!
     * George: [Washington, Bush, Bush]
     * Grover: [Cleveland, Cleveland]        // Two, non-consecutive terms, rep'ing NJ!
     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Integer> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

    import java.util.Map;
    import java.util.Map.Entry;
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /**
     * Base class for map testers.
     *
     * <p>TODO: see how much of this is actually needed once Map testers are written. (It was cloned
     * from AbstractCollectionTester.)
     *
     * @param <K> the key type of the map to be tested.
     * @param <V> the value type of the map to be tested.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Double> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. guava-gwt/test/com/google/common/GwtTestSuite.java

    import com.google.gwt.junit.tools.GWTTestSuite;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    import java.io.IOException;
    
    /**
     * Runs all _gwt tests. Grouping them into a suite is much faster than running each as a one-test
     * "suite," as the per-suite setup is expensive.
     */
    public class GwtTestSuite extends TestCase {
      public static Test suite() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 23 13:24:59 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

       * map of public suffixes. The encoded trie string may be broken into multiple chunks to avoid the
       * 64k limit on string literal size. In-memory strings can be much larger (2G).
       */
      static ImmutableMap<String, PublicSuffixType> parseTrie(CharSequence... encodedChunks) {
        String encoded = DIRECT_JOINER.join(encodedChunks);
        return parseFullString(encoded);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 13 19:20:43 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSequenceReader.java

        requireNonNull(seq); // safe as long as we call this only after checkOpen
        return seq.length() - pos;
      }
    
      /*
       * To avoid the need to call requireNonNull so much, we could consider more clever approaches,
       * such as:
       *
       * - Make checkOpen return the non-null `seq`. Then callers can assign that to a local variable or
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 4.5K bytes
    - Viewed (0)
Back to top