Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for asarray (0.32 sec)

  1. maven-core/src/test/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCacheTest.java

            cache.put(project1, new SetWithResolutionResult(null, artifacts));
    
            assertArrayEquals(
                    artifacts.toArray(new Artifact[0]),
                    cache.get(project1).getArtifacts().toArray(new Artifact[0]));
    
            ProjectArtifactsCache.Key project2 = new ProjectArtifactsCache.Key() {};
    
            Set<Artifact> reversedArtifacts = new LinkedHashSet<>(4);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:34:19 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         */
        boolean get(@Nonnull URI relativeSource, @Nonnull Path target);
    
        /**
         * GETs the source URI content as byte array. The source MUST BE relative from the {@link RemoteRepository#getUrl()}
         * root.
         *
         * @return the byte array if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

         */
        public static WorkspaceReader of(Collection<WorkspaceReader> workspaceReaderCollection) {
            WorkspaceReader[] readers = workspaceReaderCollection.toArray(new WorkspaceReader[0]);
            if (readers.length == 1) {
                return readers[0];
            }
            return new MavenChainedWorkspaceReader(readers);
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                commandLineBuilder.addArg(arg);
            }
    
            /* Although this looks wrong in terms of order Commons CLI stores the value of options in
             * an array and when a value is potentionally overriden it is added to the array. The single
             * arg option value is retrieved and instead of returning values[values.length-1] it returns
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         *
         * @param paths the path to format as a tool option
         * @return the option associated to this path type followed by the given path elements,
         *         or an empty array if there is no path element
         * @throws IllegalStateException if no option is associated to this path type
         */
        @Nonnull
        @Override
        public String[] option(Iterable<? extends Path> paths) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    return instance -> {
                        Object[] args = getDependencies().stream()
                                .map(compiler)
                                .map(Supplier::get)
                                .toArray();
                        try {
                            method.invoke(instance, args);
                        } catch (IllegalAccessException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

         * as {@link #testCompareUuidVersionStringStream()}, it covers broader range and in case it fails it records
         * the failed array, so we can investigate more.
         */
        @Test
        void testCompareUuidRandom() {
            for (int j = 0; j < 32; j++) {
                ArrayList<Version> versions = new ArrayList<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-16/plexus-container-default-1.0-alpha-16.jar

    java.util.List { private java.util.List components; public void ComponentList(String, java.util.List); public int size(); public boolean isEmpty(); public boolean contains(Object); public java.util.Iterator iterator(); public Object[] toArray(); public Object[] toArray(Object[]); public boolean add(Object); public boolean remove(Object); public boolean containsAll(java.util.Collection); public boolean addAll(java.util.Collection); public boolean addAll(int, java.util.Collection); public boolean re...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 205.7K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-container-default/1.0-alpha-32/plexus-container-default-1.0-alpha-32.jar

    java.util.List { private java.util.List components; public void ComponentList(String, java.util.List); public int size(); public boolean isEmpty(); public boolean contains(Object); public java.util.Iterator iterator(); public Object[] toArray(); public Object[] toArray(Object[]); public boolean add(Object); public boolean remove(Object); public boolean containsAll(java.util.Collection); public boolean addAll(java.util.Collection); public boolean addAll(int, java.util.Collection); public boolean re...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 233.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

            String expression = param.getExpression();
    
            if (param.isEditable()) {
                boolean isArray = param.getType().endsWith("[]");
                boolean isCollection = false;
                boolean isMap = false;
                boolean isProperties = false;
                if (!isArray) {
                    try {
                        // assuming Type is available in current ClassLoader
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 09 23:46:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top