Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 252 for containsKey (0.15 sec)

  1. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    StringBuilder message = new StringBuilder("Messages [");
                    boolean test = true;
                    for (int i = 0; i < 999; i++) {
                        boolean ok = output.containsKey("Progress (1): test-resource (" + i + "/999 B)");
                        if (!ok) {
                            System.out.println("false : " + i);
                            message.append(i + ",");
                        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isSlowInternetConnection
            get() = System.getProperty("slow.internet.connection", "false")!!.toBoolean()
        val agentNum: Int
            get() {
                if (System.getenv().containsKey("USERNAME")) {
                    val agentNumEnv = System.getenv("USERNAME").replaceFirst("tcagent", "")
                    if (Regex("""\d+""").containsMatchIn(agentNumEnv)) {
                        return agentNumEnv.toInt()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Dec 21 08:58:33 UTC 2024
    - 4.7K bytes
    - Viewed (1)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          alertListenerIfPresent(key, currentValue, RemovalCause.REPLACED);
          return put(key, value);
        }
        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()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/primitives/Primitives.java

       * Integer}.
       *
       * @see Class#isPrimitive
       */
      public static boolean isWrapperType(Class<?> type) {
        return WRAPPER_TO_PRIMITIVE_TYPE.containsKey(checkNotNull(type));
      }
    
      /**
       * Returns the corresponding wrapper type of {@code type} if it is a primitive type; otherwise
       * returns {@code type} itself. Idempotent.
       *
       * <pre>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        }
    
        @Override
        public boolean contains(final Object value) {
            return getProperties().contains(value);
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return getProperties().containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return getProperties().containsValue(value);
        }
    
        @Override
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        for (Object key : lookupKeys) {
          assertThat(cache.asMap().containsKey(key)).isTrue();
        }
        assertThat(cache.asMap().get(extraKey)).isSameInstanceAs(extraValue);
        assertThat(cache.asMap().containsKey(extraValue)).isFalse();
      }
    
      public void testBulkLoad_clobberNullKey() throws ExecutionException {
        Object extraKey = new Object();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedListMultimap.java

      @Override
      public int size() {
        return size;
      }
    
      @Override
      public boolean isEmpty() {
        return head == null;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return keyToKeyList.containsKey(key);
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      // Modification Operations
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          assertFalse(
              "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed));
          assertFalse(
              "Inverse should not contain key " + reversed.getKey(),
              inv.containsKey(reversed.getKey()));
          assertFalse(
              "Inverse should not contain value " + reversed.getValue(),
              inv.containsValue(reversed.getValue()));
          /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top