Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for getRight (0.7 sec)

  1. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Either.java

        }
    
        /**
         * Take the value if this is a left.
         */
        public abstract Optional<L> getLeft();
    
        /**
         * Take the value if this is a right.
         */
        public abstract Optional<R> getRight();
    
        /**
         * Map the left side.
         *
         * @see #mapRight
         * @see #fold
         */
        public abstract <U, V> Either<U, V> mapLeft(Function<? super L, ? extends U> f);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/fixtures/groovy/lib/src/testFixtures/java/com/acme/Simpsons.java

                    return person;
                }
            }
            return null;
        }
    
        public static Person of(Pair<String, String> pair) {
            return new Person(pair.getLeft(), pair.getRight());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/fixtures/kotlin/lib/src/testFixtures/java/com/acme/Simpsons.java

                    return person;
                }
            }
            return null;
        }
    
        public static Person of(Pair<String, String> pair) {
            return new Person(pair.getLeft(), pair.getRight());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

                if (match != null) {
                    match = Pair.of(withoutDebug, match.getRight());
                } else {
                    // Not present, assume no failure details
                    match = Pair.of(withoutDebug, LogContent.empty());
                }
            } else {
                if (match.getRight().countMatches(FAILURE_PATTERN) != 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/SubtractingFileCollection.java

            this.left = left;
            this.right = right;
        }
    
        public AbstractFileCollection getLeft() {
            return left;
        }
    
        public FileCollection getRight() {
            return right;
        }
    
        @Override
        public String getDisplayName() {
            return "file collection";
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ComponentState.java

            // Only merge if about the same capability, otherwise last wins
            if (this.capabilityReject.getLeft().equals(capability)) {
                this.capabilityReject.getRight().addAll(conflictedNodes);
            } else {
                this.capabilityReject = Pair.of(capability, conflictedNodes);
            }
        }
    
        @Override
        public boolean isRejected() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Pair.java

            this.left = left;
            this.right = right;
        }
    
        @Nullable
        public L getLeft() {
            return left;
        }
    
        @Nullable
        public R getRight() {
            return right;
        }
    
        @Nullable
        public L left() {
            return left;
        }
    
        @Nullable
        public R right() {
            return right;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/attributes/IncubatingAttributesChecker.java

        }
    
        private static <T> boolean isIncubating(Pair<Attribute<T>, T> attributePair) {
            return isIncubating(Objects.requireNonNull(attributePair.getLeft()), attributePair.getRight());
        }
    
        private static <T> boolean isIncubatingAttributeInterface(Attribute<T> key) {
            return isAnnotatedWithIncubating(key.getType());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 26 12:54:17 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/CompositeBuildDependencySubstitutions.java

            for (Pair<ModuleVersionIdentifier, ProjectComponentIdentifier> replacement : replacements) {
                replacementMap.put(replacement.getLeft().getModule(), replacement.getRight());
            }
        }
    
        @Override
        public void execute(DependencySubstitution sub) {
            DependencySubstitutionInternal dependencySubstitution = (DependencySubstitutionInternal) sub;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 23 10:37:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

        }
    
        public Optional<Enabled> whenEnabled() {
            return delegate.getLeft();
        }
    
        public Optional<Disabled> whenDisabled() {
            return delegate.getRight();
        }
    
        public <T> T fold(Function<Enabled, T> enabled, Function<Disabled, T> disabled) {
            return delegate.fold(enabled, disabled);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top