Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testPutIfAbsent_unsupportedPresentExistingValue (0.28 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              putIfAbsent(e0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              putIfAbsent(e0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_unsupportedPresentExistingValue() {
        try {
          assertEquals(
              "putIfAbsent(present, existingValue) should return present or throw",
              v0(),
              getMap().putIfAbsent(k0(), v0()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top