Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 310 for deprecation (0.09 sec)

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

    import com.google.common.testing.NullPointerTester;
    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.30.md

        - [Node Binaries](#node-binaries-6)
        - [Container Images](#container-images-6)
      - [Changelog since v1.29.0](#changelog-since-v1290)
      - [Changes by Kind](#changes-by-kind-6)
        - [Deprecation](#deprecation)
        - [API Change](#api-change-4)
        - [Feature](#feature-4)
        - [Documentation](#documentation)
        - [Failing Test](#failing-test)
        - [Bug or Regression](#bug-or-regression-6)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.26.md

      - [Urgent Upgrade Notes](#urgent-upgrade-notes)
        - [(No, really, you MUST read this before you upgrade)](#no-really-you-must-read-this-before-you-upgrade)
      - [Changes by Kind](#changes-by-kind-15)
        - [Deprecation](#deprecation)
        - [API Change](#api-change-8)
        - [Feature](#feature-15)
        - [Documentation](#documentation)
        - [Bug or Regression](#bug-or-regression-15)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake-4)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        iterator.next();
        assertThrows(UnsupportedOperationException.class, () -> iterator.remove());
        assertEquals("[a, b, c]", iterable.toString());
      }
    
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testUnmodifiableIterableShortCircuit() {
        List<String> list = newArrayList("a", "b", "c");
        Iterable<String> iterable = Iterables.unmodifiableIterable(list);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(0, caseInsensitiveOrdering.compare("A", "a"));
        assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0);
        assertTrue(caseInsensitiveOrdering.compare("B", "a") > 0);
    
        @SuppressWarnings("deprecation") // test of deprecated method
        Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural());
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        ImmutableSortedSet<LegacyComparable> set = builder.build();
        assertTrue(elementsEqual(LegacyComparable.VALUES_BACKWARD, set));
      }
    
      @SuppressWarnings({"deprecation", "static-access", "DoNotCall"})
      public void testBuilderMethod() {
        assertThrows(UnsupportedOperationException.class, () -> ImmutableSortedSet.builder());
      }
    
      public void testAsList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertEquals(0, caseInsensitiveOrdering.compare("A", "a"));
        assertTrue(caseInsensitiveOrdering.compare("a", "B") < 0);
        assertTrue(caseInsensitiveOrdering.compare("B", "a") > 0);
    
        @SuppressWarnings("deprecation") // test of deprecated method
        Ordering<String> orderingFromOrdering = Ordering.from(Ordering.<String>natural());
        new EqualsTester()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
      @SuppressWarnings("deprecation")
      @GwtIncompatible
      public static double roundToDouble(long x, RoundingMode mode) {
        // Logic adapted from ToDoubleRounder.
        double roundArbitrarily = (double) x;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            }
            require(null !in (protocolsCopy as List<Protocol?>)) {
              "protocols must not contain null"
            }
    
            // Remove protocols that we no longer support.
            @Suppress("DEPRECATION")
            protocolsCopy.remove(Protocol.SPDY_3)
    
            if (protocolsCopy != this.protocols) {
              this.routeDatabase = null
            }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/LongMath.java

       *
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code x}
       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
      @SuppressWarnings("deprecation")
      @GwtIncompatible
      public static double roundToDouble(long x, RoundingMode mode) {
        // Logic adapted from ToDoubleRounder.
        double roundArbitrarily = (double) x;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top