Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for containsValue (0.15 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            if (artifacts != null && !artifacts.isEmpty()) {
                boolean v4api = foreignImports != null && foreignImports.containsValue(maven4ApiRealm);
                for (Artifact artifact : artifacts) {
                    if (!isProvidedArtifact(artifact, v4api) && artifact.getFile() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

       * faster-than-linear time.
       *
       * @param value the object to search for in the values of this BiMap
       * @return true if a mapping exists from a key to the specified value
       */
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return seekByValue(value, smearedHash(value)) != null;
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> multimap = createMultimap();
        assertTrue(multimap.containsKey("foo"));
        assertFalse(multimap.containsKey("cat"));
        assertTrue(multimap.containsValue(1));
        assertFalse(multimap.containsValue(5));
        assertTrue(multimap.containsEntry("foo", 1));
        assertFalse(multimap.containsEntry("cat", 1));
        assertFalse(multimap.containsEntry("foo", 5));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

        return wrappedHashMapTests(
            new WrappedHashMapGenerator() {
              @Override
              Map<String, String> wrap(final HashMap<String, String> map) {
                if (map.containsValue(null)) {
                  throw new NullPointerException();
                }
    
                return new AbstractMap<String, String>() {
                  @Override
                  public Set<Entry<String, String>> entrySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      // accessors
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return map.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return value != null && super.containsValue(value);
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // views
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. 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;
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. 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);
            assertTrue(cache.asMap().containsKey(entry.getKey()));
            assertTrue(cache.asMap().containsValue(entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. 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") @CheckForNull Object value);
    
      /**
       * Returns the value corresponding to the given row and column keys, or {@code null} if no such
       * mapping exists.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top