Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Library (0.32 sec)

  1. guava-tests/test/com/google/common/collect/StreamsTest.java

        concatenated.close();
        assertThat(closeCountB.get()).isEqualTo(1);
      }
    
      public void testConcat_refStream_closeIsPropagated_Stream_concat() {
        // Just to demonstrate behavior of Stream::concat in the standard library
        AtomicInteger closeCountB = new AtomicInteger(0);
        Stream<String> streamB = Stream.of("b").onClose(closeCountB::incrementAndGet);
        Stream<String> concatenated =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Collections2.java

    /**
     * Provides static methods for working with {@code Collection} instances.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. These methods are not being deprecated, but we gently encourage you to migrate
     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
       * doing so would be to derive a separate test library by using remove_from_jar to strip out
       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
       * *backport*, where ClassValueValidator is not present.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashFunction.java

     * implementations in Java use). For the many uses of hash functions beyond data structures,
     * however, {@code Object.hashCode} almost always falls short -- hence this library.
     *
     * @author Kevin Bourrillion
     * @since 11.0
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    public interface HashFunction {
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/Quantiles.java

     * frac(x) respectively. This is the same definition as used by Excel and by S, it is the Type 7
     * definition in <a
     * href="http://stat.ethz.ch/R-manual/R-devel/library/stats/html/quantile.html">R</a>, and it is
     * described by <a
     * href="http://en.wikipedia.org/wiki/Quantile#Estimating_the_quantiles_of_a_population">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

     * in the {@link Iterators} class.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. This class is not being deprecated, but we gently encourage you to migrate to
     * streams.
     *
    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)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * environment that forces Futures.getChecked to its fallback WeakSetValidator. One awful way of
       * doing so would be to derive a separate test library by using remove_from_jar to strip out
       * ClassValueValidator.
       *
       * Fortunately, we get pretty good coverage "by accident": We run all these tests against the
       * *backport*, where ClassValueValidator is not present.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Collections2.java

    /**
     * Provides static methods for working with {@code Collection} instances.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
     * for comparisons. These methods are not being deprecated, but we gently encourage you to migrate
     * to streams.
     *
     * @author Chris Povirk
     * @author Mike Bostock
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Chars.java

       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
       * flexibility at little cost in readability.
       *
       * @throws IllegalArgumentException if {@code bytes} has fewer than 2 elements
       */
      @GwtIncompatible // doesn't work
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       * byte array {@code {0x12, 0x13, 0x14, 0x15, 0x33}} would yield the {@code int} value {@code
       * 0x12131415}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
       * flexibility at little cost in readability.
       *
       * @throws IllegalArgumentException if {@code bytes} has fewer than 4 elements
       */
      public static int fromByteArray(byte[] bytes) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
Back to top