Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 231 for containsKey (0.07 sec)

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

              return getEntry(index);
            }
          };
        }
    
        // TODO(lowasser): consider an optimized values() implementation
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return keyIndex.containsKey(key);
        }
    
        @CheckForNull
        @Override
        public V get(@CheckForNull Object key) {
          Integer index = keyIndex.get(key);
          if (index == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      }
    
      boolean isPartialView() {
        return false;
      }
    
      public final boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      public final boolean containsKey(@Nullable Object key) {
        return Maps.safeContainsKey(delegate, key);
      }
    
      public final boolean containsValue(@Nullable Object value) {
        return delegate.containsValue(value);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ComponentUtil.java

                }
                throw new ContainerNotAvailableException(clazz.getCanonicalName());
            } catch (final ComponentNotFoundException | AutoBindingFailureException e) {
                if (componentMap.containsKey(clazz.getCanonicalName())) {
                    return (T) componentMap.get(clazz.getCanonicalName());
                }
                throw e;
            }
        }
    
        @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:35:51 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      }
    
      @Override
      public Spliterator<K> spliterator() {
        return map.keySpliterator();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return map.containsKey(object);
      }
    
      @Override
      K get(int index) {
        return map.entrySet().asList().get(index).getKey();
      }
    
      @Override
      public void forEach(Consumer<? super K> action) {
        checkNotNull(action);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java

                throw new CrawlerSystemException("The key is null.");
            }
            if (extractor == null) {
                throw new CrawlerSystemException("The extractor is null.");
            }
            if (extractorMap.containsKey(key)) {
                final Extractor oldExtractor = extractorMap.get(key);
                if (oldExtractor.getWeight() > extractor.getWeight()) {
                    if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Jun 18 05:49:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            @Override
            public boolean onStartElement(String elementName, Map<String, String> attributes) {
                if (!elementName.equals("a") || !attributes.containsKey("name")) {
                    return false;
                }
                Element element = document.createElement("anchor");
                String id = String.format("%s.%s", classMetaData.getClassName(), attributes.get("name"));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
                assertTrue(attr.containsKey("gidNumber"));
                assertEquals(attr.get("gidNumber"), "100");
            }
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/AbstractLoadingCache.java

        }
      }
    
      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        Map<K, V> result = Maps.newLinkedHashMap();
        for (K key : keys) {
          if (!result.containsKey(key)) {
            result.put(key, get(key));
          }
        }
        return ImmutableMap.copyOf(result);
      }
    
      @Override
      public final V apply(K key) {
        return getUnchecked(key);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

          for (int inI = 0, outI = 0; inI < n; inI++) {
            Entry<K, V> entry = requireNonNull(entryArray[inI]);
            K key = entry.getKey();
            if (duplicates.containsKey(key)) {
              V value = duplicates.get(key);
              if (value == null) {
                continue; // delete this duplicate
              }
              entry = new ImmutableMapEntry<>(key, value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top