Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 403 for getValue2 (0.1 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        private Set<String> getProfileIds(final Predicate<ActivationSettings> predicate) {
            return this.activations.entrySet().stream()
                    .filter(e -> predicate.test(e.getValue()))
                    .map(Map.Entry::getKey)
                    .collect(toSet());
        }
    
        /**
         * @return Required active profile identifiers, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                new TestStringMapGenerator() {
                  @Override
                  protected Map<String, String> create(Entry<String, String>[] entries) {
                    return singletonMap(entries[0].getKey(), entries[0].getValue());
                  }
                })
            .named("singletonMap")
            .withFeatures(
                MapFeature.ALLOWS_NULL_KEYS,
                MapFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
          String name, ByteSinkFactory factory, String string, String desc) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

        Map<K, V> delegate = Maps.newLinkedHashMap();
        for (Entry<? extends K, ? extends V> entry : entries) {
          K key = checkNotNull(entry.getKey());
          V previous = delegate.put(key, checkNotNull(entry.getValue()));
          if (throwIfDuplicateKeys && previous != null) {
            throw new IllegalArgumentException("duplicate key: " + key);
          }
        }
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/ByteSinkTester.java

        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
          String name, ByteSinkFactory factory, String string, String desc) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
                    prop.setValue(profileProp.getValue());
    
                    activation.setProperty(prop);
                }
    
                ActivationOS profileOs = profileActivation.getOs();
    
                if (profileOs != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type)
                throws ComponentConfigurationException {
            String value = configuration.getValue();
            try {
                Object result = null;
                if (null != value && !value.isEmpty()) {
                    if (evaluator instanceof TypeAwareExpressionEvaluator) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

        }
    
        @Override
        public void each(Closure cl) {
            for (Map.Entry<String, T> entry : classes.entrySet()) {
                cl.call(new Object[]{entry.getKey(), entry.getValue()});
            }
        }
    
        public void each(Action<? super T> action) {
            for (T t : classes.values()) {
                action.execute(t);
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlResponse.java

                final Map<String, List<String>> map = new HashMap<>();
                headers.entrySet().stream().filter(e -> e.getKey() != null)
                        .forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue()));
                this.headers = map;
            }
        }
    
        public Map<String, List<String>> getHeaders() {
            return headers;
        }
    
        public String[] getHeaderValues(final String name) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top