Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 753 for setName (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

                if (o == null) {
                    throw new IllegalArgumentException(name + " is null");
                }
                throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName());
            }
            return clazz.cast(o);
        }
    
        public static <U, V> List<V> map(Collection<U> list, Function<U, V> mapper) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 22:23:23 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        } else if (state instanceof Blocker) {
          result = "running=[INTERRUPTED]";
        } else if (state instanceof Thread) {
          // getName is final on Thread, no need to worry about exceptions
          result = "running=[RUNNING ON " + ((Thread) state).getName() + "]";
        } else {
          result = "running=[NOT STARTED YET]";
        }
        return result + ", " + toPendingString();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            List<XmlNode> children = mojoDescriptor.getParameters().stream()
                    .filter(p -> p.getDefaultValue() != null || p.getExpression() != null)
                    .map(p -> XmlNode.newInstance(
                            p.getName(),
                            p.getExpression(),
                            p.getDefaultValue() != null
                                    ? Collections.singletonMap("default-value", p.getDefaultValue())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/inheritance/ModelInheritanceAssembler.java

    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface ModelInheritanceAssembler {
        String ROLE = ModelInheritanceAssembler.class.getName();
    
        void assembleModelInheritance(Model child, Model parent, String childPathAdjustment);
    
        void assembleModelInheritance(Model child, Model parent);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
         * @return The path of the artifact, never {@code null}.
         */
        String getName();
    
        /**
         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            info.creationTime = 1672531200000L; // 2023-01-01
            info.lastWriteTime = 1672617600000L; // 2023-01-02
            info.endOfFile = 1024;
    
            assertEquals("test.txt", info.getName());
            assertEquals(SmbFile.TYPE_FILESYSTEM, info.getType());
            assertEquals(SmbFile.ATTR_ARCHIVE, info.getAttributes());
            assertEquals(1672531200000L, info.createTime());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            }
    
            @Override
            public void close() {
                closed.set(true);
            }
    
            boolean isClosed() {
                return closed.get();
            }
    
            String getName() {
                return name;
            }
        }
    
        @Test
        @DisplayName("Test resource registration and tracking")
        void testResourceRegistration() {
            TestResource resource = new TestResource("test1");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/resources/org/gradle/test/Java8Interface.java

    import java.io.IOException;
    import java.util.function.Supplier;
    
    /**
     * An interface that uses Java 8 source features.
     */
    public interface Java8Interface extends CombinedInterface, JavaInterface {
        default String getName() {
            try (Writer writer = new StringWriter()) {
                Supplier<String> methodReference = this::toString;
                Supplier<String> lambda = () -> this.toString();
            } catch (IOException ignore) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryFactory.java

    import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
    
    /**
     */
    @Deprecated
    public interface ArtifactRepositoryFactory {
        String ROLE = ArtifactRepositoryFactory.class.getName();
    
        String DEFAULT_LAYOUT_ID = "default";
    
        String LOCAL_REPOSITORY_ID = "local";
    
        @Deprecated
        ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
            return buffer.toString();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top