Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for toList (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        /* toList modifications reflected in fromList */
        toList.remove(0);
        assertEquals(asList(5, 9, 3), fromList);
        toList.add(7);
        assertEquals(asList(7, 5, 9, 3), fromList);
        toList.add(5);
        assertEquals(asList(5, 7, 5, 9, 3), fromList);
        toList.remove(Integer.valueOf(5));
        assertEquals(asList(5, 7, 9, 3), fromList);
        toList.set(1, 8);
        assertEquals(asList(5, 7, 8, 3), fromList);
        toList.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                assertThat("Has errors", richReport.errors.map { it.message }, CoreMatchers.equalTo(errors.toList()))
            }
    
            fun assertHasWarnings(vararg warnings: String) {
                assertThat("Has warnings", richReport.warnings.map { it.message }, CoreMatchers.equalTo(warnings.toList()))
            }
    
            fun assertHasInformation(vararg information: String) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            .tlsVersions(TlsVersion.TLS_1_2)
            .supportsTlsExtensions(true)
            .build()
        assertThat(tlsSpec.cipherSuites!!.toList())
          .containsExactly(CipherSuite.TLS_RSA_WITH_RC4_128_MD5)
        assertThat(tlsSpec.tlsVersions!!.toList())
          .containsExactly(TlsVersion.TLS_1_2)
        assertThat(tlsSpec.supportsTlsExtensions).isTrue()
      }
    
      @Test
      fun tlsBuilder_defaultCiphers() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    map.put(KEY, e.getKeyAsString());
                    map.put(COUNT, e.getDocCount());
                    return map;
                }).collect(Collectors.toList());
            } else if (SearchLogPager.LOG_TYPE_FAVORITE.equalsIgnoreCase(pager.logType)) {
                list = (EsPagingResultBean<?>) favoriteLogBhv.selectPage(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    import javax.inject.Inject
    import kotlin.collections.component1
    import kotlin.collections.component2
    import kotlin.collections.set
    import kotlin.streams.toList
    
    
    typealias LeftoverFiles = Map<File, List<String>>
    
    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                    .collect(Collectors.toList());
            return new Dependency(result, artifact.getScope(), artifact.isOptional(), excl);
        }
    
        public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos) {
            return Optional.ofNullable(repos).orElse(Collections.emptyList()).stream()
                    .map(RepositoryUtils::toRepo)
                    .collect(Collectors.toList());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                        appendJson("search-field", searchFieldMap, buf).append(',');
                        final Map<String, List<String>> requestHeaderMap = entity.getRequestHeaderList().stream()
                                .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        server.useHttps(handshakeCertificates.sslSocketFactory())
    
        defaultEnabledCipherSuites =
          handshakeCertificates.sslSocketFactory().defaultCipherSuites.toList()
        defaultSupportedCipherSuites =
          handshakeCertificates.sslSocketFactory().supportedCipherSuites.toList()
      }
    
      @Test
      fun testDefaultHandshakeCipherSuiteOrderingTls12Restricted() {
        // We are avoiding making guarantees on ordering of secondary Platforms.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        prune((ModelBase.Builder) builder, p);
                        return builder.build(null).build();
                    })
                    .filter(p -> !isEmpty(p))
                    .collect(Collectors.toList());
        }
    
        private static boolean isEmpty(Profile profile) {
            return profile.getActivation() == null
                    && profile.getBuild() == null
                    && profile.getDependencies().isEmpty()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top