- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 475 for AsList (0.12 sec)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
WebApiUtil.setObject("booleanValue", true); WebApiUtil.setObject("objectValue", new Object()); // Test with collections java.util.List<String> list = java.util.Arrays.asList("item1", "item2"); WebApiUtil.setObject("listValue", list); java.util.Map<String, String> map = new java.util.HashMap<>(); map.put("key", "value");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
} @Test @DisplayName("Collection configuration methods should delegate correctly") void testCollectionConfigurationDelegation() { // Given List<ResolverType> resolverOrder = Arrays.asList(ResolverType.RESOLVER_DNS, ResolverType.RESOLVER_WINS); when(mockDelegate.getResolveOrder()).thenReturn(resolverOrder); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final T response, final RequestParam... params) throws CIFSException { return send(loc, request, response, params.length == 0 ? EnumSet.noneOf(RequestParam.class) : EnumSet.copyOf(Arrays.asList(params))); } <T extends CommonServerMessageBlockResponse> T send(final SmbResourceLocatorImpl loc, final CommonServerMessageBlockRequest request,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertNotNull(stringList); assertEquals(1, stringList.size()); assertEquals("test", stringList.get(0)); // Test with List List<String> originalList = Arrays.asList("one", "two", "three"); List<String> resultList = SuggestUtil.getAsList(originalList); assertNotNull(resultList); assertEquals(3, resultList.size()); assertEquals(originalList, resultList);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
.add(predicateType) .add(String.class) // the format string .addAll(curr) .build()); } } return allOverloads.build().asList(); } // 'test' to demonstrate some potentially ambiguous overloads. This 'test' is kind of strange, // but essentially each line will be a call to a Preconditions method that, but for a documented
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
.add(predicateType) .add(String.class) // the format string .addAll(curr) .build()); } } return allOverloads.build().asList(); } // 'test' to demonstrate some potentially ambiguous overloads. This 'test' is kind of strange, // but essentially each line will be a call to a Preconditions method that, but for a documented
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
.build() assert200Http2Response(execute(url), server.hostName) val sanUrl = url.newBuilder().host("san.com").build() dns["san.com"] = Arrays.asList( InetAddress.getByAddress("san.com", byteArrayOf(0, 0, 0, 0)), serverIps[0], ) assert200Http2Response(execute(sanUrl), "san.com")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
* throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable, * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...), * Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can beRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
ImmutableSet.of(3), set.intersection(ContiguousSet.create(Range.closed(3, 5), integers()))); } public void testAsList() { ImmutableList<Integer> list = ContiguousSet.create(Range.closed(1, 3), integers()).asList(); for (int i = 0; i < 3; i++) { assertEquals(i + 1, list.get(i).intValue()); } assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
.sameSite("None") val cookie = cookieBuilder.build() assertThat(cookie.sameSite).isEqualTo("None") } @Test fun equalsAndHashCode() { val cookieStrings = Arrays.asList( "a=b; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly", "a= ; Path=/c; Domain=example.com; Max-Age=5; Secure; HttpOnly", "a=b; Domain=example.com; Max-Age=5; Secure; HttpOnly",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0)