Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 207 for containsKey (0.13 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public final boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public final boolean containsKey(@Nullable Object key) {
        return Maps.safeContainsKey(delegate, key);
      }
    
      @Override
      public final boolean containsValue(@Nullable Object value) {
        return delegate.containsValue(value);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
        assertEquals(values.size() > 0, multimap().keySet().contains(key));
        assertEquals(values.size() > 0, multimap().keys().contains(key));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

            return map.size();
        }
    
        @Override
        public boolean isEmpty() {
            return map.isEmpty();
        }
    
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
            return map.put(o, PRESENT) == null;
        }
    
        @Override
        public boolean remove(final Object o) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        @Override
        public boolean hasFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
            return fieldDescCache.containsKey(fieldName);
        }
    
        @Override
        public FieldDesc getFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

        if (collection instanceof Set) {
          return Sets.filter((Set<E>) collection, predicate);
        } else {
          return Collections2.filter(collection, predicate);
        }
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return asMap().get(key) != null;
      }
    
      @Override
      public Collection<V> removeAll(@Nullable Object key) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/MapFeature.java

    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MapFeature implements Feature<Map> {
      /**
       * The map does not throw {@code NullPointerException} on calls such as {@code containsKey(null)},
       * {@code get(null)}, {@code keySet().contains(null)} or {@code remove(null)}.
       */
      ALLOWS_NULL_KEY_QUERIES,
      ALLOWS_NULL_KEYS(ALLOWS_NULL_KEY_QUERIES),
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        fieldName = null;
                    }
                    buffer.setLength(0);
                } else if ("list".equals(qName)) {
                    if (fieldName != null && !dataMap.containsKey(fieldName)) {
                        dataMap.put(fieldName, new ArrayList<>());
                    }
                } else if ("item".equals(qName)) {
                    buffer.setLength(0);
                }
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
        table.row("b").subMap("b", "y").clear();
        assertEquals(table.row("b"), ImmutableMap.of());
        assertFalse(table.backingMap.containsKey("b"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

          // var oldValue = map.get(keyToRemove);
          map.remove(keyToRemove);
          // This line doesn't hold - see the Javadoc comments above.
          // assertEquals(expectedValue, oldValue);
          assertFalse(map.containsKey(keyToRemove));
          assertEquals(initialSize - 1, map.size());
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.remove(keyToRemove));
        }
        assertInvariants(map);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 14:47:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/GroupTests.java

            assertEquals(NUM, attrList.size());
            for (Map<String, String> attr : attrList) {
                assertTrue(attr.containsKey("gidNumber"));
                assertEquals(attr.get("gidNumber"), "100");
            }
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top