- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,192 for tolist (0.22 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 52.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
fromList.add(2, 9); assertEquals(asList(6, 4, 3, 9, 2, 5), toList); fromList.remove(Integer.valueOf(2)); assertEquals(asList(6, 4, 3, 9, 5), toList); fromList.remove(3); assertEquals(asList(6, 3, 9, 5), toList); /* toList modifications reflected in fromList */ toList.remove(0); assertEquals(asList(5, 9, 3), fromList); toList.add(7); assertEquals(asList(7, 5, 9, 3), fromList);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
fromList.add(2, 9); assertEquals(asList(6, 4, 3, 9, 2, 5), toList); fromList.remove(Integer.valueOf(2)); assertEquals(asList(6, 4, 3, 9, 5), toList); fromList.remove(3); assertEquals(asList(6, 3, 9, 5), toList); /* toList modifications reflected in fromList */ toList.remove(0); assertEquals(asList(5, 9, 3), fromList); toList.add(7); assertEquals(asList(7, 5, 9, 3), fromList);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 35.2K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ResultsStoreHelper.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/CompositeDomainObjectSetTest.groovy
} def "composite containing one collection"() { expect: composite(collection("a", "b")).toList() == ["a", "b"] } def "composite containing two collections"() { expect: composite(collection("a", "b"), collection("c", "d")).toList() == ["a", "b", "c", "d"] } def "combined collection contains additions and removals"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 05 20:02:22 UTC 2018 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java
@Test public void canOverwriteProperties() { final List conventionList1 = toList("a"); conventionAware.map("list1", new Callable<Object>() { public Object call() { return conventionList1; } }); assertSame(conventionList1, conventionAware.getConventionValue(null, "list1", false)); List expectedList1 = toList("b");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/CompositeInstrumentationCodeGenerator.java
List<GenerationResult> results = generators.stream().map(generators -> generators.generateCodeForRequestedInterceptors(interceptionRequests)).collect(Collectors.toList()); List<HasFailures> failures = results.stream().filter(it -> it instanceof HasFailures).map(it -> (HasFailures) it).collect(Collectors.toList()); if (!failures.isEmpty()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 3.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultDomainObjectCollectionTest.groovy
def testClosure = { return it != "b" } container.add("a") container.add("b") container.add("c") expect: toList(container.matching(spec)) == ["a", "c"] toList(container.matching(testClosure)) == ["a", "c"] } def filteredCollectionIsLive() { def spec = new Spec<CharSequence>() { boolean isSatisfiedBy(CharSequence element) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 16 23:50:58 UTC 2024 - 11.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/AbstractLongRunningOperation.java
} protected static @Nullable <T> List<T> rationalizeInput(@Nullable T[] arguments) { return arguments != null && arguments.length > 0 ? Arrays.asList(arguments) : null; } protected static @Nullable <T> List<T> rationalizeInput(@Nullable Iterable<? extends T> arguments) { return arguments != null && arguments.iterator().hasNext() ? CollectionUtils.toList(arguments) : null; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/AbstractArchiveFileTreeTest.java
rootDir.file("subdir2/file2.txt").write("content"); archiveFileToRoot(getArchiveFile()); assertVisits(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2")); assertSetContainsForAllTypes(getTree(), toList("subdir/file1.txt", "subdir2/file2.txt")); } @Test public void canStopVisitingFiles() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 28 16:17:59 UTC 2023 - 6.5K bytes - Viewed (0)