- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 384 for reslist (0.1 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
public void testBuilderPutAllIterable() { ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder(); builder.putAll("foo", Arrays.asList(1, 2, 3)); builder.putAll("bar", Arrays.asList(4, 5)); builder.putAll("foo", Arrays.asList(6, 7)); Multimap<String, Integer> multimap = builder.build(); assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
this.e0 = e0; this.e1 = e1; this.e2 = e2; this.e3 = e3; this.e4 = e4; } @Override public Iterator<E> iterator() { return asList().iterator(); } public List<E> asList() { return Arrays.asList(e0(), e1(), e2(), e3(), e4()); } public static class Strings extends SampleElements<String> { public Strings() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
final List<org.codelibs.fess.crawler.client.http.RequestHeader> rhList = new ArrayList<>(); for (final RequestHeader requestHeader : requestHeaderList) { rhList.add(requestHeader.getCrawlerRequestHeader()); } paramMap.put(HcHttpClient.REQUERT_HEADERS_PROPERTY, rhList.toArray(new org.codelibs.fess.crawler.client.http.RequestHeader[rhList.size()]));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
new TestStringListGenerator() { @Override public List<String> create(String[] elements) { return asList(elements.clone()); } }) .named("Arrays.asList") .withFeatures( ListFeature.SUPPORTS_SET, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_VALUES,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapValues.java
} @Override boolean isPartialView() { return true; } @Override public ImmutableList<V> asList() { final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList(); return new ImmutableList<V>() { @Override public V get(int index) { return entryList.get(index).getValue(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
return copyToList(asList(elements)); } // Clone of Sets.newLinkedHashSet public static <E extends @Nullable Object> Set<E> copyToSet(Iterable<? extends E> elements) { Set<E> set = new LinkedHashSet<>(); addAll(set, elements); return set; } public static <E extends @Nullable Object> Set<E> copyToSet(E[] elements) { return copyToSet(asList(elements)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java
String datePart = DATE_FILTER.matcher(ts).replaceAll(""); /* Allow for this test running across midnight */ Set<String> expected = new HashSet<>(Arrays.asList(dateBefore, dateAfter)); assertTrue(expected.contains(datePart), "Expected " + datePart + " to be in " + expected); } @Test void buildNumberNotSet() { RemoteSnapshotMetadata metadata =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java
* the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.copyToList; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester; import com.google.common.collect.testing.testers.ConcurrentMapRemoveTester;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ConcurrentMapTestSuiteBuilder.java
* the License. */ package com.google.common.collect.testing; import static com.google.common.collect.testing.Helpers.copyToList; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.testing.testers.ConcurrentMapPutIfAbsentTester; import com.google.common.collect.testing.testers.ConcurrentMapRemoveTester;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
* the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.Helpers.assertEqualInOrder; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ListMultimap; import java.util.Collection; import org.checkerframework.checker.nullness.qual.Nullable; import org.junit.Ignore;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.1K bytes - Viewed (0)