Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for singletonList (4.14 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven3ScopeManagerConfiguration.java

                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE_PLUS_RUNTIME,
                    InternalScopeManager.Mode.ELIMINATE,
                    byProjectPath(CommonBuilds.PROJECT_PATH_MAIN),
                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
        public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(
                Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) {
            return Collections.singletonList(new DefaultArtifactVersion("10.1.3"));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            return new DefaultPhase(name, Collections.singletonList(plugin), Collections.emptyList());
        }
    
        static Plugin plugin(String coord, String phase) {
            String[] c = coord.split(":");
            return Plugin.newBuilder()
                    .groupId(c[0])
                    .artifactId(c[1])
                    .version(c[2])
                    .executions(Collections.singletonList(PluginExecution.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
            result.add(internalScopeManager.createResolutionScope(
                    RS_MAIN_COMPILE_PLUS_RUNTIME,
                    InternalScopeManager.Mode.ELIMINATE,
                    byProjectPath(CommonBuilds.PROJECT_PATH_MAIN),
                    Collections.singletonList(system),
                    nonTransitiveDependencyScopes));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static java.util.Collections.singletonList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  7. maven-api-impl/src/test/java/org/apache/maven/internal/impl/model/MavenModelMergerTest.java

            model = Model.newBuilder()
                    .profiles(Collections.singletonList(modelProfile))
                    .build();
            builder = Model.newBuilder(model);
            modelMerger.mergeModel_Prerequisites(builder, model, parent, false, null);
            assertEquals(Collections.singletonList(modelProfile), builder.build().getProfiles());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ListsTest.java

      public void testPartition_1_1() {
        List<Integer> source = Collections.singletonList(1);
        List<List<Integer>> partitions = Lists.partition(source, 1);
        assertEquals(1, partitions.size());
        assertEquals(Collections.singletonList(1), partitions.get(0));
      }
    
      public void testPartition_1_2() {
        List<Integer> source = Collections.singletonList(1);
        List<List<Integer>> partitions = Lists.partition(source, 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ListsTest.java

      public void testPartition_1_1() {
        List<Integer> source = Collections.singletonList(1);
        List<List<Integer>> partitions = Lists.partition(source, 1);
        assertEquals(1, partitions.size());
        assertEquals(Collections.singletonList(1), partitions.get(0));
      }
    
      public void testPartition_1_2() {
        List<Integer> source = Collections.singletonList(1);
        List<List<Integer>> partitions = Lists.partition(source, 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

            DefaultMavenMetadataCache.CacheKey k1 =
                    new DefaultMavenMetadataCache.CacheKey(a1, false, lr1, Collections.singletonList(rr1));
            DefaultMavenMetadataCache.CacheKey k2 =
                    new DefaultMavenMetadataCache.CacheKey(a2, false, lr2, Collections.singletonList(rr2));
    
            assertEquals(k1.hashCode(), k2.hashCode());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top