- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 453 for retValue (0.09 sec)
-
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
switch (map.size()) { case 0: return ImmutableMap.of(); case 1: Entry<K, V> entry = getOnlyElement(map.entrySet()); return ImmutableMap.of(entry.getKey(), entry.getValue()); default: return new ImmutableEnumMap<>(map); } } private final transient EnumMap<K, V> delegate; private ImmutableEnumMap(EnumMap<K, V> delegate) { this.delegate = delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java
if (object instanceof Entry) { Entry<?, ?> entry = (Entry<?, ?>) object; V value = map().get(entry.getKey()); return value != null && value.equals(entry.getValue()); } return false; } @Override boolean isPartialView() { return map().isPartialView(); } @Override @GwtIncompatible // not used in GWT
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultimapTest.java
SetMultimap<String, String> multimap = HashMultimap.create(); for (Entry<String, String> entry : entries) { multimap.put(entry.getKey(), entry.getValue()); } return multimap; } }) .named("HashMultimap") .withFeatures( MapFeature.ALLOWS_NULL_KEYS,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
+ ":" + goal))))); return goals.entrySet().stream() .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue())))); } public Map<String, LifecyclePhase> getDefaultLifecyclePhases() { return defaultPhases; } @Deprecated public Map<String, String> getDefaultPhases() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
* Returns a map view that associates each key with the corresponding values in the multimap. * Changes to the returned map, such as element removal, will update the underlying multimap. The * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}. * * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0)