Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for containsKey (0.11 seconds)

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

          K leftKey = entry.getKey();
          V leftValue = entry.getValue();
          if (right.containsKey(leftKey)) {
            /*
             * The cast is safe because onlyOnRight contains all the keys of right.
             *
             * TODO(cpovirk): Consider checking onlyOnRight.containsKey instead of right.containsKey.
             * That could change behavior if the input maps use different equivalence relations (and so
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Maps.java

          K leftKey = entry.getKey();
          V leftValue = entry.getValue();
          if (right.containsKey(leftKey)) {
            /*
             * The cast is safe because onlyOnRight contains all the keys of right.
             *
             * TODO(cpovirk): Consider checking onlyOnRight.containsKey instead of right.containsKey.
             * That could change behavior if the input maps use different equivalence relations (and so
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/cache/LocalCache.java

        segmentFor(hash).refresh(key, hash, defaultLoader, false);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        // does not impact recency ordering
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        segmentFor(hash).refresh(key, hash, defaultLoader, false);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        // does not impact recency ordering
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        table.set(index, entry);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isFalse();
    
        // count == 1
        segment.count++;
        assertThat(segment.get(key, hash)).isSameInstanceAs(value);
        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        table.set(index, entry);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isFalse();
    
        // count == 1
        segment.count++;
        assertThat(segment.get(key, hash)).isSameInstanceAs(value);
        assertThat(segment.containsKey(key, hash)).isTrue();
        assertThat(segment.containsValue(value)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                                            });
                                    if (result.containsKey("index") || result.containsKey("update")) {
                                        return line;
                                    }
                                    if (result.containsKey("delete")) {
                                        return StringUtil.EMPTY;
                                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                 */
                try {
                    entries = doDfsRootEnum();
                    for (final FileEntry entry : entries) {
                        e = entry;
                        if (!map.containsKey(e)) {
                            map.put(e, e);
                        }
                    }
                } catch (final IOException ioe) {
                    if (LogStream.level >= 4) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top