Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 318 for containsKey (0.09 seconds)

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

        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        if (value == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @Override
        ImmutableSet<K> createKeySet() {
          return ImmutableMap.this.keySet();
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return ImmutableMap.this.containsKey(key);
        }
    
        @Override
        public @Nullable ImmutableSet<V> get(@Nullable Object key) {
          V outerValue = ImmutableMap.this.get(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableMap.java

        }
    
        @Override
        ImmutableSet<K> createKeySet() {
          return ImmutableMap.this.keySet();
        }
    
        @Override
        public boolean containsKey(@Nullable Object key) {
          return ImmutableMap.this.containsKey(key);
        }
    
        @Override
        public @Nullable ImmutableSet<V> get(@Nullable Object key) {
          V outerValue = ImmutableMap.this.get(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/ArrayMap.java

                    if (listTable[i].value == null) {
                        return i;
                    }
                }
            }
            return -1;
        }
    
        @Override
        public boolean containsKey(final Object key) {
            final Entry<K, V>[] tbl = mapTable;
            if (key != null) {
                final int hashCode = key.hashCode();
                final int index = (hashCode & 0x7FFFFFFF) % tbl.length;
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        if (value == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertFalse(map.containsKey("1"));
        assertFalse(map.containsKey("2"));
        assertFalse(map.containsKey("3"));
        assertEquals(0L, map.get("1"));
        assertEquals(0L, map.get("2"));
        assertEquals(0L, map.get("3"));
    
        map.putAll(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
        assertTrue(map.containsKey("1"));
        assertTrue(map.containsKey("2"));
        assertTrue(map.containsKey("3"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java

            assertTrue(source.containsKey(FieldNames.TEXT));
            assertTrue(source.containsKey(FieldNames.FIELDS));
            assertTrue(source.containsKey(FieldNames.TAGS));
            assertTrue(source.containsKey(FieldNames.ROLES));
            assertTrue(source.containsKey(FieldNames.LANGUAGES));
            assertTrue(source.containsKey(FieldNames.KINDS));
            assertTrue(source.containsKey(FieldNames.DOC_FREQ));
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/DocMapTest.java

            DocMap docMap = new DocMap(parentMap);
    
            docMap.put("key1", "value1");
            docMap.put("key2", null);
    
            assertTrue(docMap.containsKey("key1"));
            assertTrue(docMap.containsKey("key2"));
            assertFalse(docMap.containsKey("key3"));
    
            assertTrue(docMap.containsValue("value1"));
            assertTrue(docMap.containsValue(null));
            assertFalse(docMap.containsValue("nonexistent"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertEquals(expected.get("a"), map.get("a"));
        assertEquals(expected.containsKey("a"), map.containsKey("a"));
        assertEquals(expected.get("b"), map.get("b"));
        assertEquals(expected.containsKey("b"), map.containsKey("b"));
        assertEquals(expected.get("c"), map.get("c"));
        assertEquals(expected.containsKey("c"), map.containsKey("c"));
      }
    
      public void testTransformReflectsUnderlyingMap() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top