Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 231 for containsKey (0.07 sec)

  1. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

            super(capacity);
        }
    
        /**
         * キーが含まれているかどうかを返します。
         *
         * @param key
         *            キー
         * @return キーが含まれているかどうか
         */
        public boolean containsKey(final String key) {
            return super.containsKey(convertKey(key));
        }
    
        @Override
        public V get(final Object key) {
            return super.get(convertKey(key));
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/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)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("2"), is(true));
            assertThat(map.containsKey("3"), is(not(true)));
            map.put("3", null);
            assertThat(map.containsKey("3"), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIndexOf() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                if (language == null) {
                    return;
                }
            }
    
            for (final String f : langFields) {
                final String lf = f + "_" + language;
                if (doc.containsKey(f) && !doc.containsKey(lf)) {
                    doc.put(lf, doc.get(f));
                    if (logger.isDebugEnabled()) {
                        logger.debug("add {} field", lf);
                    }
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

            return new DataStoreParams(params);
        }
    
        public void putAll(final Map<String, String> map) {
            params.putAll(map);
        }
    
        public boolean containsKey(final String key) {
            return params.containsKey(key);
        }
    
        public Map<String, Object> asMap() {
            return new ParamMap<>(new HashMap<>(getDataMap(params)));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          super.clear();
        }
    
        @Override
        public boolean containsKey(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

        resetContainer(getSubjectGenerator().create((Object[]) entries));
      }
    
      protected void expectMissingKeys(K... elements) {
        for (K element : elements) {
          assertFalse("Should not contain key " + element, getMap().containsKey(element));
        }
      }
    
      protected void expectMissingValues(V... elements) {
        for (V element : elements) {
          assertFalse("Should not contain value " + element, getMap().containsValue(element));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/MapIteratorCache.java

        }
      }
    
      @CheckForNull
      final V getWithoutCaching(Object key) {
        checkNotNull(key);
        return backingMap.get(key);
      }
    
      final boolean containsKey(@CheckForNull Object key) {
        return getIfCached(key) != null || backingMap.containsKey(key);
      }
    
      final Set<K> unmodifiableKeySet() {
        return new AbstractSet<K>() {
          @Override
          public UnmodifiableIterator<K> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            final Map<String, String[]> params = request.getParameterMap();
            if (logger.isDebugEnabled()) {
                logger.debug("params: {}", params);
            }
            return params.containsKey(ERROR) || params.containsKey(ID_TOKEN) || params.containsKey(CODE);
        }
    
        public void updateMemberOf(final AzureAdUser user) {
            final List<String> groupList = new ArrayList<>();
            final List<String> roleList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            final Map<String, Object> res = JsonPath.from(response).getMap("response.setting");
            assertTrue(res.containsKey("total_words_num"));
            assertTrue(res.containsKey("document_words_num"));
            assertTrue(res.containsKey("query_words_num"));
            assertEquals(new Integer(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top