Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for containsKey (0.07 sec)

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

          assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithAsMap() {
        for (K k : sampleKeys()) {
          assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithKeySet() {
        for (K k : sampleKeys()) {
          assertEquals(multimap().containsKey(k), multimap().keySet().contains(k));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

          assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithAsMap() {
        for (K k : sampleKeys()) {
          assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k));
        }
      }
    
      public void testContainsKeyAgreesWithKeySet() {
        for (K k : sampleKeys()) {
          assertEquals(multimap().containsKey(k), multimap().keySet().contains(k));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertEquals(expected.get("a"), map.get("a"));
        assertEquals(expected.containsKey("a"), map.containsKey("a"));
        assertEquals(expected.get("b"), map.get("b"));
        assertEquals(expected.containsKey("b"), map.containsKey("b"));
        assertEquals(expected.get("c"), map.get("c"));
        assertEquals(expected.containsKey("c"), map.containsKey("c"));
      }
    
      public void testTransformReflectsUnderlyingMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertEquals(expected.get("a"), map.get("a"));
        assertEquals(expected.containsKey("a"), map.containsKey("a"));
        assertEquals(expected.get("b"), map.get("b"));
        assertEquals(expected.containsKey("b"), map.containsKey("b"));
        assertEquals(expected.get("c"), map.get("c"));
        assertEquals(expected.containsKey("c"), map.containsKey("c"));
      }
    
      public void testTransformReflectsUnderlyingMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

                }
                if (!doc.containsKey(indexFieldFavoriteCount)) {
                    doc.put(indexFieldFavoriteCount, 0L);
                }
                if (!doc.containsKey(indexFieldClickCount)) {
                    doc.put(indexFieldClickCount, 0L);
                }
                if (!doc.containsKey(indexFieldBoost)) {
                    doc.put(indexFieldBoost, 1.0f);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        initMapWithNullValue();
    
        getMap().forcePut(k1(), null);
    
        expectContents(mapEntry(k1(), (V) null));
    
        assertFalse(getMap().containsKey(k0()));
    
        assertTrue(getMap().containsKey(k1()));
        assertTrue(getMap().inverse().containsKey(null));
        assertNull(getMap().get(k1()));
        assertEquals(k1(), getMap().inverse().get(null));
        assertEquals(1, getMap().size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

      public void testContains_yes() {
        assertTrue("containsKey(present) should return true", getMap().containsKey(k0()));
      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsKey(null) should return false", getMap().containsKey(null));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
        assertFalse(map.containsKey(unmappedKey));
        try {
          assertFalse(map.containsKey(new IncompatibleKeyType()));
        } catch (ClassCastException tolerated) {
        }
        assertTrue(map.containsKey(map.keySet().iterator().next()));
        if (allowsNullKeys) {
          boolean unused = map.containsKey(null);
        } else {
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java

            if (request.getUserProperties().containsKey(REVISION_PROPERTY)) {
                modelProperties.put(REVISION_PROPERTY, request.getUserProperties().get(REVISION_PROPERTY));
            }
            if (request.getUserProperties().containsKey(CHANGELIST_PROPERTY)) {
                modelProperties.put(CHANGELIST_PROPERTY, request.getUserProperties().get(CHANGELIST_PROPERTY));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

                if (dependents != null && !dependents.isEmpty()) {
                    for (String dependentId : dependents) {
                        if (!buildSuccessesByProject.containsKey(dependentId)
                                && !buildFailuresByProject.containsKey(dependentId)) {
                            blackList(dependentId);
                        }
                    }
                }
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top