Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 207 for containsKey (0.07 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java

          this.backingSortedMap = backingSortedMap;
        }
    
        @Override
        protected SortedMap<K, V> delegate() {
          return backingSortedMap;
        }
    
        @Override
        public boolean containsKey(Object key) {
          return standardContainsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          return standardContainsValue(value);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        } 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));
      }
    
      protected final K k0() {
        return e0().getKey();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/MockWitnessService.java

         *
         * @param registrationId the registration ID
         * @return true if registration exists
         */
        public boolean hasRegistration(String registrationId) {
            return registrations.containsKey(registrationId);
        }
    
        /**
         * Simulate sending a witness notification
         *
         * @param eventType the event type
         * @param resourceName the resource name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

          }
          next = CompactHashing.getNext(entry, mask);
        } while (next != UNSET);
        return -1;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
        return (delegate != null) ? delegate.containsKey(key) : indexOf(key) != -1;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        Map<K, V> delegate = delegateOrNull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            Object obj;
    
            synchronized (LOOKUP_TABLE) {
                if (!LOOKUP_TABLE.containsKey(name)) {
                    LOOKUP_TABLE.put(name, name);
                    return null;
                }
                while (LOOKUP_TABLE.containsKey(name)) {
                    try {
                        LOOKUP_TABLE.wait();
                    } catch (final InterruptedException e) {}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

       * memory leaks.
       */
      boolean isPartialView() {
        return map.isPartialView();
      }
    
      // 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
            if (paramMap.containsKey(template)) {
                return paramMap.get(template);
            }
    
            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                        && !cls.getPackage().getName().startsWith("sun.nio.fs");
            }
    
            private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                if (!PRIMITIVE_BY_CLASS.containsKey(fieldType)) {
                    PRIMITIVE_BY_CLASS.put(fieldType, fieldType.isPrimitive());
                }
    
                if (PRIMITIVE_BY_CLASS.get(fieldType)) {
                    return false;
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      private static <K, V> void putEntryWithChecks(
          SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
        K key = checkNotNull(entry.getKey());
        V value = checkNotNull(entry.getValue());
        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimap.java

       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @Nullable Object key);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top