Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for DEPRECATION (0.04 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_intVarargs() {
        assertThat(DoubleMath.mean(11, -22, 44, -88)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_longVarargs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hashing.java

       * href="https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp">32-bit murmur3
       * algorithm, x86 variant</a> (little-endian variant), using the given seed value, <b>with a known
       * bug</b> as described in the deprecation text.
       *
       * <p>The C++ equivalent is the MurmurHash3_x86_32 function (Murmur3A), which however does not
       * have the bug.
       *
       * @deprecated This implementation produces incorrect hash values from the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testFromFluentFuture() {
        FluentFuture<String> f = FluentFuture.from(SettableFuture.<String>create());
        assertThat(FluentFuture.from(f)).isSameInstanceAs(f);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
      // We're testing that the method is in fact equivalent to throwing the exception directly.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        reallyTestMatchThenNoMatch(matcher.negate().precomputed(), s);
        reallyTestMatchThenNoMatch(matcher.precomputed().negate(), s);
      }
    
      // intentionally testing apply() method
      @SuppressWarnings({
        "deprecation",
        "InlineMeInliner",
      })
      private void reallyTestOneCharMatch(CharMatcher matcher, String s) {
        assertTrue(matcher.matches(s.charAt(0)));
        assertTrue(matcher.apply(s.charAt(0)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.32.md

    There are no urgent upgrade notes for the v1.32 release.
    
    ## Changes by Kind
    
    ### Deprecation
    
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

        // separate above
        assertEquals(Range.closed(4, 12), range.span(Range.closed(10, 12)));
        assertEquals(Range.atLeast(4), range.span(Range.atLeast(10)));
      }
    
      @SuppressWarnings({"InlineMeInliner", "deprecation"}) // intentional test of depecated method
      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        List<String> toRemove = asList("a", "b", "b");
        assertTrue(Multisets.removeOccurrences(multiset, toRemove));
        assertThat(multiset).containsExactly("a", "c").inOrder();
      }
    
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
      public void testUnmodifiableMultisetShortCircuit() {
        Multiset<String> mod = HashMultiset.create();
        Multiset<String> unmod = unmodifiableMultiset(mod);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/ThrowablesTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Throwables}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("deprecation") // tests of numerous deprecated methods
    @NullUnmarked
    public class ThrowablesTest extends TestCase {
      // We're testing that the method is in fact equivalent to throwing the exception directly.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/BooleansTest.java

        List<Boolean> list = Booleans.asList(true, false);
        assertThat(list.get(0)).isSameInstanceAs(true);
        assertThat(list.get(1)).isSameInstanceAs(false);
        @SuppressWarnings("deprecation")
        Boolean anotherTrue = new Boolean(true);
        @SuppressWarnings("deprecation")
        Boolean anotherFalse = new Boolean(false);
        list.set(0, anotherTrue);
        assertThat(list.get(0)).isSameInstanceAs(true);
        list.set(1, anotherFalse);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top