Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 78 for containsValue (0.06 seconds)

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

      }
    
      // 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
      public int size() {
        return size;
      }
    
      // views
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 28.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      // 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
      public int size() {
        return size;
      }
    
      // views
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          return backingMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
        public void putAll(Map<? extends K, ? extends V> map) {
          standardPutAll(map);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(HashMap<String, String> map) {
                if (map.containsValue(null)) {
                  throw new NullPointerException();
                }
    
                return new AbstractMap<String, String>() {
                  @Override
                  public Set<Entry<String, String>> entrySet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

        return null;
      }
    
      @Override
      public boolean containsKey(Object key) {
        return cachingHashMap.containsKey(key) && !isExpired(cachingHashMap.get(key));
      }
    
      @Override
      public boolean containsValue(Object value) {
        for (Timestamped<V> val : cachingHashMap.values()) {
          if (val.getValue().equals(value)) {
            if (!isExpired(val)) {
              return true;
            }
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(HashMap<String, String> map) {
                if (map.containsValue(null)) {
                  throw new NullPointerException();
                }
    
                return new AbstractMap<String, String>() {
                  @Override
                  public Set<Entry<String, String>> entrySet() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 22 16:18:11 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

            postReadCleanup();
          }
        }
    
        /**
         * This method is a convenience for testing. Code should call {@link
         * MapMakerInternalMap#containsValue} directly.
         */
        @VisibleForTesting
        boolean containsValue(Object value) {
          try {
            if (count != 0) { // read-volatile
              AtomicReferenceArray<E> table = this.table;
              int length = table.length();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return map.containsKey(key);
        }
    
        @Override
        public boolean containsValue(@Nullable Object value) {
          return map.containsValue(value);
        }
    
        @Override
        public boolean containsEntry(@Nullable Object key, @Nullable Object value) {
          return map.entrySet().contains(Maps.immutableEntry(key, value));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 86.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Table.java

      /**
       * Returns {@code true} if the table contains a mapping with the specified value.
       *
       * @param value value to search for
       */
      boolean containsValue(@CompatibleWith("V") @Nullable Object value);
    
      /**
       * Returns the value corresponding to the given row and column keys, or {@code null} if no such
       * mapping exists.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            assertThat(cache.asMap().containsKey(entry.getKey())).isTrue();
            assertThat(cache.asMap().containsValue(entry.getValue())).isTrue();
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertThat(cache.getUnchecked(entry.getKey())).isEqualTo(entry.getValue());
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top