Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HierarchicalElementAdapter (0.27 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/HierarchicalElementAdapter.java

    /**
     * Adapts any type of element to the generic {@link HierarchicalElementDeduplicator}.
     *
     * @param <T> the type of element to de-duplicate
     */
    public interface HierarchicalElementAdapter<T> {
    
        /**
         * Returns the original name of the given element.
         *
         * @param element the element, cannot be null
         * @return the name of the element, never null
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/DefaultUniqueProjectNameProvider.java

                this.deduplicated = deduplicator.deduplicate(projectRegistry.getAllProjects());
            }
            return deduplicated;
        }
    
        private static class ProjectPathDeduplicationAdapter implements HierarchicalElementAdapter<ProjectState> {
            @Override
            public String getName(ProjectState element) {
                return element.getName();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/configurer/EclipseModelAwareUniqueProjectNameProvider.java

            }
    
            public ProjectStateWrapper(String name) {
                this(name, null, null);
            }
        }
    
        private static class ProjectPathDeduplicationAdapter implements HierarchicalElementAdapter<ProjectStateWrapper> {
            private final Map<ProjectState, ProjectStateWrapper> projectToInformationMap;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top