Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 284 for getLeft (0.11 sec)

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

        }
    
        public static <L, R> Either<L, R> right(R value) {
            return new Right<>(value);
        }
    
        /**
         * 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
         */
    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. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/SubtractingFileCollection.java

            super(left.taskDependencyFactory, left.patternSetFactory);
            this.left = left;
            this.right = right;
        }
    
        public AbstractFileCollection getLeft() {
            return left;
        }
    
        public FileCollection getRight() {
            return right;
        }
    
        @Override
        public String getDisplayName() {
            return "file collection";
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Pair.java

        @Nullable
        public final R right;
    
        private Pair(@Nullable L left, @Nullable R right) {
            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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. 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)
  7. 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) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 23 10:37:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

            final Pair<Collection<DaemonInfo>, Collection<DaemonInfo>> idleBusy = partitionByState(daemonRegistry.getAll(), Idle);
            final Collection<DaemonInfo> idleDaemons = idleBusy.getLeft();
            final Collection<DaemonInfo> busyDaemons = idleBusy.getRight();
    
            // Check to see if there are any compatible idle daemons
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

        public static CachingState disabledWithoutInputs(CachingDisabledReason reason) {
            return disabled(ImmutableList.of(reason), null, null);
        }
    
        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) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/PropertyReportTask.java

                    warning.name, warning.valueClass, warning.exception
                );
            }
            for (Pair<String, String> entry : model.properties) {
                renderer.addProperty(entry.getLeft(), entry.getRight());
            }
        }
    
        /**
         * Model for the report.
         *
         * @since 7.6
         */
        @Incubating
        public static final class PropertyReportModel {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 5.1K bytes
    - Viewed (0)
Back to top