Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 403 for getValue2 (0.07 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. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
              if (!(entry.getValue() instanceof NoOpService)) {
                builder.put(entry);
              }
            }
          } finally {
            monitor.leave();
          }
          return builder.build();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
              if (!(entry.getValue() instanceof NoOpService)) {
                builder.put(entry);
              }
            }
          } finally {
            monitor.leave();
          }
          return builder.build();
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                                public String getKey() {
                                    return entry.getKey();
                                }
    
                                public String getValue() {
                                    return entry.getValue();
                                }
    
                                public String setValue(String value) {
                                    String old = entry.setValue(value);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. 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)
  8. android/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. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

        public Tuple3<String, String, String> createTask(final String path, final Map<String, Object> docMap) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String thumbnailId = DocumentUtil.getValue(docMap, fessConfig.getIndexFieldId(), String.class);
            final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path);
            if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

                        ListMultimap<String, String> multimap = ArrayListMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
                    })
                .named("ArrayListMultimap")
                .withFeatures(
                    MapFeature.ALLOWS_NULL_KEYS,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top