Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 389 for getValue2 (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        expectAdded(nullKeyValueEntry);
      }
    
      @CanIgnoreReturnValue
      private V put(Entry<K, V> entry) {
        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
       * {@link java.util.TreeMap} can suppress it with {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

          for (Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet()) {
            Class<? extends T> type = entry.getKey();
            T value = entry.getValue();
            mapBuilder.put(type, cast(type, value));
          }
          return this;
        }
    
        private static <T> T cast(Class<T> type, Object value) {
          return Primitives.wrap(type).cast(value);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                        if (m != null && !m.isEmpty()) {
                                            for (Map.Entry<Object, Object> entry : m.entrySet()) {
                                                Object value = entry.getValue();
    
                                                if (value != null) {
                                                    if (String.class == value.getClass()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (cookies != null) {
                for (final Cookie cookie : cookies) {
                    if (cookieKey.equals(cookie.getName())) {
                        final String value = cookie.getValue();
                        if (logger.isDebugEnabled()) {
                            logger.debug("{}:{}", cookieKey, value);
                        }
                        if (StringUtil.isNotEmpty(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                            baseDoc.put(scoreField, oldScore + score);
                            final String[] searcherNames = DocumentUtil.getValue(doc, Constants.SEARCHER, String[].class);
                            if (searcherNames != null) {
                                final String[] baseSearchers = DocumentUtil.getValue(baseDoc, Constants.SEARCHER, String[].class);
                                if (baseSearchers != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getKey(), (et, vl) -> ((CrawlingInfoParam) et).setKey(DfTypeUtil.toString(vl)),
                    "key");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getValue(), (et, vl) -> ((CrawlingInfoParam) et).setValue(DfTypeUtil.toString(vl)),
                    "value");
        }
    
        @Override
        public PropertyGateway findPropertyGateway(final String prop) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            new AbstractMapEntry<String, Integer>() {
              @Override
              public String getKey() {
                return holder.string;
              }
    
              @Override
              public Integer getValue() {
                return 1;
              }
            };
    
        builder.put(entry);
        holder.string = "two";
        assertEquals(asList(1), builder.build().get("one"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

            }
    
            @Override
            @ParametricNullness
            public K getKey() {
              return delegate.key;
            }
    
            @Override
            @ParametricNullness
            public V getValue() {
              return delegate.value;
            }
    
            @Override
            @ParametricNullness
            public V setValue(@ParametricNullness V value) {
              V oldValue = delegate.value;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

                  if (entry.getKey().isConnected(subRange)
                      && !entry.getKey().intersection(subRange).isEmpty()) {
                    expectedBuilder.put(entry.getKey().intersection(subRange), entry.getValue());
                  }
                }
    
                ImmutableRangeMap<Integer, Integer> expected = expectedBuilder.build();
                assertEquals(expected, rangeMap.subRangeMap(subRange));
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top