Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 503 for asList (0.14 sec)

  1. 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)
  2. 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);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    import static java.util.Collections.shuffle;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      @Test
      @Throws(Exception::class)
      fun webSocketConnectionIsReleased() {
        // This test assumes HTTP/1.1 pooling semantics.
        client =
          client
            .newBuilder()
            .protocols(Arrays.asList(Protocol.HTTP_1_1))
            .build()
        webServer.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_NOT_FOUND)
            .body("not found!")
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        @SuppressWarnings("unchecked") // we will only ever read these
        Entry<K, V>[] entries2 = (Entry<K, V>[]) entries;
        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top