Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 509 for Prefer (0.08 sec)

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

     * guarantees detailed below.
     *
     * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableCollection} as a type (just as
     * with {@link Collection} itself). Prefer subtypes such as {@link ImmutableSet} or {@link
     * ImmutableList}, which have well-defined {@link #equals} semantics, thus avoiding a common source
     * of bugs and confusion.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. 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)
  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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         *     OkHttp needs to build a clean certificate chain. This method instead must use reflection
         *     to extract the trust manager. Applications should prefer to call
         *     `sslSocketFactory(SSLSocketFactory, X509TrustManager)`, which avoids such reflection.
         */
        @Deprecated(
          message = "Use the sslSocketFactory overload that accepts a X509TrustManager.",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

              Outcome.HANG);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
              TimeoutsToUse.PAST,
              // prefer responding to interrupt over timing out
              isInterruptible(method) ? Outcome.INTERRUPT : Outcome.FAILURE);
          addTests(
              suite,
              method,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top