Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 312 for getValues (0.05 seconds)

  1. 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());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

          ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder();
          for (Entry<String, String> entry : entries) {
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      @J2ktIncompatible
      @AndroidIncompatible // test-suite builders
      private static final class ImmutableSetMultimapCopyOfEntriesGenerator
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 27K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Table.java

        R getRowKey();
    
        /** Returns the column key of this cell. */
        @ParametricNullness
        C getColumnKey();
    
        /** Returns the value of this cell. */
        @ParametricNullness
        V getValue();
    
        /**
         * Compares the specified object with this cell for equality. Two cells are equal when they have
         * equal row keys, column keys, and values.
         */
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        Entry<K, V> nullValueEntry = entry(k3(), null);
        assertNull(
            "putIfAbsent(key, null) should return null",
            getMap().putIfAbsent(nullValueEntry.getKey(), nullValueEntry.getValue()));
        expectAdded(nullValueEntry);
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_replacesNullValue() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 02:04:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. 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()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                        String phase = goalsForLifecyclePhase.getKey();
                        LifecyclePhase goals = goalsForLifecyclePhase.getValue();
                        if (goals != null) {
                            parseLifecyclePhaseDefinitions(plugins, phase, goals);
                        }
                    }
                }
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              Stopwatch stopwatch = entry.getValue();
              if (!stopwatch.isRunning() && !(service instanceof NoOpService)) {
                loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS)));
              }
            }
          } finally {
            monitor.leave();
          }
          sort(loadTimes, Ordering.natural().onResultOf(Entry::getValue));
          return ImmutableMap.copyOf(loadTimes);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  9. guava/src/com/google/common/util/concurrent/ServiceManager.java

              Stopwatch stopwatch = entry.getValue();
              if (!stopwatch.isRunning() && !(service instanceof NoOpService)) {
                loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS)));
              }
            }
          } finally {
            monitor.leave();
          }
          sort(loadTimes, Ordering.natural().onResultOf(Entry::getValue));
          return ImmutableMap.copyOf(loadTimes);
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                                    return entry.getKey();
                                }
    
                                @Override
                                public String getValue() {
                                    return entry.getValue();
                                }
    
                                @Override
                                public String setValue(String value) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
Back to Top