Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 231 for containsKey (0.08 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            if (logger.isDebugEnabled()) {
                logger.debug("[{}] thumbnail: {}", name, docMap.get(thumbnailFieldName));
            }
            if (!docMap.containsKey(thumbnailFieldName)) {
                return false;
            }
            for (final Map.Entry<String, String> entry : conditionMap.entrySet()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        if (comparator == null) {
          comparator = (Comparator<? super K>) NATURAL_ORDER;
        }
        return comparator;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

                    return atomic.get();
                  }
                }));
      }
    
      /** Returns true if this map contains a mapping for the specified key. */
      public boolean containsKey(Object key) {
        return map.containsKey(key);
      }
    
      /**
       * Returns the number of key-value mappings in this map. If the map contains more than {@code
       * Integer.MAX_VALUE} elements, returns {@code Integer.MAX_VALUE}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrudTestBase.java

                requestBody.put("version_no", 1);
                final String idKey = getIdKey();
                if (setting.containsKey(idKey)) {
                    requestBody.put(idKey, setting.get(idKey));
                }
                for (String key : keySet) {
                    if (!requestBody.containsKey(key)) {
                        requestBody.put(key, setting.get(key));
                    }
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/core/beans/util/BeanMap.java

     *
     * @author higa
     */
    public class BeanMap extends LinkedHashMap<String, Object> {
    
        private static final long serialVersionUID = 1;
    
        @Override
        public Object get(final Object key) {
            if (!containsKey(key)) {
                throw new IllegalKeyOfBeanMapException(key, this);
            }
            return super.get(key);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            if (toolchains != null) {
                Map<String, List<ToolchainModel>> groupedToolchains = new HashMap<>(2);
    
                for (ToolchainModel model : toolchains.getToolchains()) {
                    if (!groupedToolchains.containsKey(model.getType())) {
                        groupedToolchains.put(model.getType(), new ArrayList<>());
                    }
    
                    groupedToolchains.get(model.getType()).add(model);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            Map<String, T> dominantById = mapById(dominant);
            final List<T> identifiables = new ArrayList<>(recessive.size());
    
            for (T identifiable : recessive) {
                if (!dominantById.containsKey(identifiable.getId())) {
                    identifiable.setSourceLevel(recessiveSourceLevel);
    
                    identifiables.add(identifiable);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

          K leftKey = entry.getKey();
          V leftValue = entry.getValue();
          if (right.containsKey(leftKey)) {
            /*
             * The cast is safe because onlyOnRight contains all the keys of right.
             *
             * TODO(cpovirk): Consider checking onlyOnRight.containsKey instead of right.containsKey.
             * That could change behavior if the input maps use different equivalence relations (and so
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top