Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 658 for keyvalue (0.06 seconds)

  1. guava-tests/test/com/google/common/cache/AbstractCacheTest.java

                return valueRef.get();
              }
            };
    
        assertThat(cache.getIfPresent(new Object())).isNull();
    
        Object newValue = new Object();
        valueRef.set(newValue);
        assertThat(cache.getIfPresent(new Object())).isSameInstanceAs(newValue);
      }
    
      public void testGetAllPresent_empty() {
        Cache<Object, Object> cache =
            new AbstractCache<Object, Object>() {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(entry.getValue(), is(sameClass(Integer.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T2"));
            assertThat(entry.getValue(), is(sameClass(Long.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T1"));
            assertThat(entry.getValue(), is(sameClass(String.class)));
            entry = it.next();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Tables.java

                && Objects.equals(getValue(), other.getValue());
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return Objects.hash(getRowKey(), getColumnKey(), getValue());
        }
    
        @Override
        public String toString() {
          return "(" + getRowKey() + "," + getColumnKey() + ")=" + getValue();
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 24.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[0].toLowerCase())),
                        doc.toString());
                assertFalse(
                        doc.entrySet()
                                .stream()
                                .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keywords[2].toLowerCase())),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

                    logger.debug("--- init fork of " + fork.getKey() + " for " + mojoExecId + " ---");
    
                    debugDependencyRequirements(fork.getValue());
    
                    for (MojoExecution forkedExecution : fork.getValue()) {
                        debugMojoExecution(forkedExecution);
                    }
    
                    logger.debug("--- exit fork of " + fork.getKey() + " for " + mojoExecId + " ---");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

                WitnessNotification testNotification = new WitnessNotification(eventType, "Resource" + eventType.getValue());
                assertEquals(eventType, testNotification.getEventType());
                assertEquals("Resource" + eventType.getValue(), testNotification.getResourceName());
            }
        }
    
        @Test
        void testTimestampConsistency() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/DocumentUtil.java

         * @return the converted value or the default value if not found
         */
        public static <T> T getValue(final Map<String, Object> doc, final String key, final Class<T> clazz, final T defaultValue) {
            final T value = getValue(doc, key, clazz);
            if (value == null) {
                return defaultValue;
            }
            return value;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        } finally {
          function = null;
        }
    
        /*
         * If set()/setValue() throws an Error, we let it propagate. Why? The most likely Error is a
         * StackOverflowError (from deep transform(..., directExecutor()) nesting), and calling
         * setException(stackOverflowError) would fail:
         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            Object o22 = properties.get(KEY1);
            assertEquals(VALUE1, o22);
            for (Map.Entry<String, String> entry : properties.entrySet()) {
                entry.setValue(entry.getValue() + "x");
            }
            Object o21 = properties.get(KEY1);
            assertEquals(VALUE1 + "x", o21);
    
            baos = new ByteArrayOutputStream();
            properties.save(baos);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

          List<Entry<K, V>> builder = new ArrayList<>();
          for (Entry<K, Collection<V>> entry : insertionOrder) {
            for (V v : entry.getValue()) {
              builder.add(mapEntry(entry.getKey(), v));
            }
            map.put(entry.getKey(), entry.getValue());
          }
          Iterable<Entry<K, V>> ordered = multimapGenerator.order(builder);
          LinkedHashMap<K, Collection<V>> orderedMap = new LinkedHashMap<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.8K bytes
    - Click Count (0)
Back to Top