Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 180 for Prefer (0.09 sec)

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

         * order in which entries were inserted into the builder, unless {@link #orderEntriesByValue}
         * was called, in which case entries are sorted by value.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate keys or values. The {@code build()} method
         * will soon be deprecated.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. docs/recipes.md

    The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body as a stream.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Chars {
      private Chars() {}
    
      /**
       * The number of bytes required to represent a primitive {@code char} value.
       *
       * <p>Prefer {@link Character#BYTES} instead.
       */
      // We don't use Character.BYTES here because it's not available under J2KT.
      public static final int BYTES = Character.SIZE / Byte.SIZE;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Shorts.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p>Prefer {@link Short#BYTES} instead.
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Short.BYTES;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
       * load data through their streams). Prefer using the {@link #concat(Iterable)} overload if
       * possible.
       *
       * @param sources the sources to concatenate
       * @return a {@code CharSource} containing the concatenated data
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharSource.java

       * is called. This will fail if the iterator is infinite and may cause problems if the iterator
       * eagerly fetches data for each source when iterated (rather than producing sources that only
       * load data through their streams). Prefer using the {@link #concat(Iterable)} overload if
       * possible.
       *
       * @param sources the sources to concatenate
       * @return a {@code CharSource} containing the concatenated data
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p>Prefer {@link Short#BYTES} instead.
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Short.BYTES;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/Network.java

     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimap.java

     * removeAll} methods, which contain values that have just been removed from the multimap, are
     * naturally <i>not</i> views.
     *
     * <h3>Subinterfaces</h3>
     *
     * <p>Instead of using the {@code Multimap} interface directly, prefer the subinterfaces {@link
     * ListMultimap} and {@link SetMultimap}. These take their names from the fact that the collections
     * they return from {@code get} behave like (and, of course, implement) {@link List} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertMean(2, 1, 3);
    
        assertMean(-2, -3, -1);
        assertMean(0, -1, 1);
        assertMean(1, -1, 3);
        assertMean((1 << 30) - 1, -1, Integer.MAX_VALUE);
    
        // Even-sized ranges should prefer the lower mean
        assertMean(2, 1, 4);
        assertMean(-3, -4, -1);
        assertMean(0, -1, 2);
        assertMean(0, Integer.MIN_VALUE + 2, Integer.MAX_VALUE);
        assertMean(0, 0, 1);
        assertMean(-1, -1, 0);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top