Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 231 for containsKey (0.13 sec)

  1. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @Override
        ImmutableSet<K> createKeySet() {
          return ImmutableMap.this.keySet();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return ImmutableMap.this.containsKey(key);
        }
    
        @Override
        @CheckForNull
        public ImmutableSet<V> get(@CheckForNull Object key) {
          V outerValue = ImmutableMap.this.get(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

      private static <T> void setImplementation(Class<T> type, Class<? extends T> implementation) {
        checkArgument(type != implementation, "Don't register %s to itself!", type);
        checkArgument(
            !DEFAULTS.containsKey(type), "A default value was already registered for %s", type);
        checkArgument(
            implementations.put(type, implementation) == null,
            "Implementation for %s was already registered",
            type);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                          @SuppressWarnings("unchecked")
                          Entry<String, Collection<String>> entry =
                              (Entry<String, Collection<String>>) o;
                          checkArgument(!multimap.containsKey(entry.getKey()));
                          multimap.putAll(entry.getKey(), entry.getValue());
                        }
                        return multimap.asMap();
                      }
    
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

        }
    
        @Override
        K get(int index) {
          return map.entries[index].getKey();
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return map.containsKey(object);
        }
    
        @Override
        boolean isPartialView() {
          return true;
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        LoadingCache<Object, Object> cache =
            builder.build(CacheLoader.from(Suppliers.ofInstance(value)));
        assertSame(value, cache.getUnchecked(key));
        assertEquals(0, cache.size());
        assertFalse(cache.asMap().containsKey(key));
      }
    
      public void testCacheBuilderFrom_string() {
        CacheBuilder<?, ?> fromString =
            CacheBuilder.from(
                "initialCapacity=10,maximumSize=20,concurrencyLevel=30,"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
                        }
    
                        if (!docMap.containsKey(Constants.SCORE)) {
                            final float score = hit.getScore();
                            if (Float.isFinite(score)) {
                                docMap.put(Constants.SCORE, score);
                            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @Override
        ImmutableSet<K> createKeySet() {
          return ImmutableMap.this.keySet();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return ImmutableMap.this.containsKey(key);
        }
    
        @Override
        @CheckForNull
        public ImmutableSet<V> get(@CheckForNull Object key) {
          V outerValue = ImmutableMap.this.get(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    if (doc.get(idField) instanceof final String id) {
                        final float score = 1.0f / (rankConstant + j);
                        if (scoreDocMap.containsKey(id)) {
                            final Map<String, Object> baseDoc = scoreDocMap.get(id);
                            final float oldScore = toFloat(baseDoc.get(scoreField));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                final Map<String, String> indexObj = dataObj.get("index");
                                if (indexObj != null) {
                                    if (indexObj.containsKey("_type")) {
                                        indexObj.remove("_type");
                                    }
                                    final String index = indexObj.get("_index");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                for (final Path path : deletedFileList) {
                    final String docId = getDocId(path);
                    if (StringUtil.isBlank(docId) || deleteFileMap.containsKey(docId)) {
                        deleteFile(path);
                    } else {
                        deleteFileMap.put(docId, path);
                    }
                }
                deletedFileList.clear();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top