Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getChildMap (0.2 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractListChildMap.java

                    public ChildMap<RESULT> withReplacedChild(String newChildPath, RESULT newChild) {
                        return getChildMap().withReplacedChild(childIndex, newChildPath, newChild);
                    }
    
                    @Override
                    public ChildMap<RESULT> withRemovedChild() {
                        return getChildMap().withRemovedChild(childIndex);
                    }
                });
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 19:11:25 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/AbstractInvalidateChildHandler.java

        public AbstractInvalidateChildHandler(ChildMap.InvalidationHandler<T, RESULT> handler) {
            this.handler = handler;
        }
    
        public abstract ChildMap<RESULT> getChildMap();
    
        public abstract ChildMap<RESULT> withReplacedChild(RESULT newChild);
    
        public abstract ChildMap<RESULT> withReplacedChild(String newChildPath, RESULT newChild);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SingletonChildMap.java

            return entry.withNode(targetPath, caseSensitivity, new AbstractInvalidateChildHandler<T, RESULT>(handler) {
                @SuppressWarnings("unchecked")
                @Override
                public SingletonChildMap<RESULT> getChildMap() {
                    return (SingletonChildMap<RESULT>) SingletonChildMap.this;
                }
    
                @Override
                public ChildMap<RESULT> withReplacedChild(RESULT newChild) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 23 13:19:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

        def adaptsMapElements() {
            TestProtocolModel protocolModel = Mock()
            TestProtocolProject protocolProject = Mock()
            _ * protocolModel.project >> protocolProject
            _ * protocolModel.getChildMap() >> Collections.singletonMap(protocolProject, protocolProject)
            _ * protocolProject.getName() >> 'name'
    
            expect:
            def model = adapter.adapt(TestModel.class, protocolModel)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
Back to top