- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 189 for AsMap (0.06 sec)
-
android/guava/src/com/google/common/collect/Multimaps.java
} /** * Returns {@link SetMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K, * Collection<V>>} to {@code Map<K, Set<V>>}. * * @since 15.0 */ @SuppressWarnings("unchecked") // safe by specification of SetMultimap.asMap() public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, Set<V>> asMap(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
} /** * Returns {@link SetMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K, * Collection<V>>} to {@code Map<K, Set<V>>}. * * @since 15.0 */ @SuppressWarnings("unchecked") // safe by specification of SetMultimap.asMap() public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, Set<V>> asMap(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 86.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * Tester for the {@code containsKey} methods of {@code Multimap} and its {@code asMap()} view. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Nov 16 17:41:24 UTC 2022 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
assertEqualIgnoringOrder(values, multimap().get(key)); if (!values.isEmpty()) { assertEqualIgnoringOrder(values, multimap().asMap().get(key)); assertFalse(multimap().isEmpty()); } else { assertNull(multimap().asMap().get(key)); } assertEquals(values.size(), multimap().get(key).size()); assertEquals(values.size() > 0, multimap().containsKey(key));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 12:45:23 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultimap.java
* interface. * * @since 14.0 (present with return type {@code SortedMap} since 2.0) */ @Override public NavigableMap<K, Collection<V>> asMap() { return (NavigableMap<K, Collection<V>>) super.asMap(); } /** * @serialData key comparator, value comparator, number of distinct keys, and then for each * distinct key: the key, number of values for that key, and key values
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Mar 09 00:21:17 UTC 2024 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
nonZeroKeys.add(key); } } assertEquals(ITERATIONS, map.size()); assertTrue(map.asMap().containsValue(0L)); map.removeAllZeros(); assertFalse(map.asMap().containsValue(0L)); assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 17.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
} if (problem.additionalData?.asMap.size() == 1) { println " additionalData.asMap == [ '${problem.additionalData.asMap.keySet().iterator().next()}' : '${problem.additionalData.asMap.values().iterator().next()}' ]" } else if (problem.additionalData?.asMap.size() > 1) { println " additionalData.asMap == [" problem.additionalData.asMap.each { key, value ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy
contextualLabel == 'Cannot locate tasks that match \':a:javadocJar\' as task \'javadocJar\' not found in project \':a\'. Some candidates are: \'javadoc\'.' additionalData.asMap == [ 'requestedPath' : ':a:javadocJar'] } when: buildFile << ''' subprojects { java { withJavadocJar() } } ''' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 7.7K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/common.go
func Namespace(iops *v1alpha1.IstioOperatorSpec) string { if iops.Namespace != "" { return iops.Namespace } if iops.Values == nil { return "" } v := iops.Values.AsMap() if v[globalKey] == nil { return "" } vg := v[globalKey].(map[string]any) n := vg[istioNamespaceKey] if n == nil { return "" } return n.(string) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 1.3K bytes - Viewed (0)