Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 318 for containsKey (0.23 seconds)

  1. guava/src/com/google/common/collect/ImmutableMultimap.java

       * memory leaks.
       */
      boolean isPartialView() {
        return map.isPartialView();
      }
    
      // accessors
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return map.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

          if (valueHash == node.valueHash && Objects.equals(value, node.value)) {
            return node;
          }
        }
        return null;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return seekByKey(key, smearedHash(key)) != null;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         */
        @Nonnull
        static <P extends BuilderProblem> ProblemCollector<P> create(@Nullable ProtoSession protoSession) {
            if (protoSession != null
                    && protoSession.getUserProperties().containsKey(Constants.MAVEN_BUILDER_MAX_PROBLEMS)) {
                int limit = Integer.parseInt(protoSession.getUserProperties().get(Constants.MAVEN_BUILDER_MAX_PROBLEMS));
                return create(limit, p -> true);
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * memory leaks.
       */
      boolean isPartialView() {
        return map.isPartialView();
      }
    
      // accessors
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return map.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          synchronized (mutex) {
            return delegate().containsKey(key);
          }
        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

          return obverse.size;
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          Object obverseValue = key;
          return obverse.containsValue(obverseValue);
        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          Object obverseKey = value;
          return obverse.containsKey(obverseKey);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Synchronized.java

        public boolean isEmpty() {
          synchronized (mutex) {
            return delegate().isEmpty();
          }
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          synchronized (mutex) {
            return delegate().containsKey(key);
          }
        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          synchronized (mutex) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CompactLinkedHashMap.java

     * maintained with a doubly linked list through the entries. All optional operations (put and
     * remove) are supported. Null keys and values are supported.
     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        for (Object key : lookupKeys) {
          assertThat(cache.asMap().containsKey(key)).isTrue();
        }
        assertThat(cache.asMap().get(extraKey)).isSameInstanceAs(extraValue);
        assertThat(cache.asMap().containsKey(extraValue)).isFalse();
      }
    
      public void testBulkLoad_clobberNullKey() throws ExecutionException {
        Object extraKey = new Object();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

          }
          next = CompactHashing.getNext(entry, mask);
        } while (next != UNSET);
        return -1;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
Back to Top