Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for containsKey (0.26 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. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
    
            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
                if (getDictType().equals(item.get("type"))) {
                    dictId = item.get("id");
                    return;
                }
            }
    
            fail();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.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. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertFalse(paramMap.containsKey("xxx"));
            assertTrue(paramMap.containsKey("aaa"));
            assertTrue(paramMap.containsKey("aaa_bbb"));
            assertTrue(paramMap.containsKey("aaaBbb"));
            assertTrue(paramMap.containsKey("AaaBbb"));
            assertFalse(paramMap.containsKey("aaabbb"));
            assertTrue(paramMap.containsKey("aaa_bbb_ccc"));
            assertTrue(paramMap.containsKey("aaaBbbCcc"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response");
            assertTrue(res.containsKey("env_props"));
            assertTrue(res.containsKey("system_props"));
            assertTrue(res.containsKey("fess_props"));
            assertTrue(res.containsKey("bug_report_props"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top