Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 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. 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)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/metadata/AbstractMetadataProvider.java

            }
            String output = transform.getLeft();
            String error = transform.getRight();
            try {
                return new ComponentFound<T>(parseCompilerOutput(output, error, execSpec.executable, path));
            } catch (BrokenResultException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 13:16:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RulesVisitor.java

            if (args != null) {
                // path(Type) { ... }
                rewriteCreator(call, extractModelPathFromMethodTarget(call), args.getRight(), args.getLeft(), RuleVisitor.displayName(call));
                return;
            }
    
            ClassExpression classArg = AstUtils.getClassArg(call);
            if (classArg != null) {
                // path(Type)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            ExtractData extractData = jodExtractor.getText(in, null);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MainWithXCTestSourceElement.java

        public abstract SwiftSourceElement getMain();
        public abstract XCTestSourceElement getTest();
    
        @Override
        public List<XCTestSourceFileElement> getTestSuites() {
            return getTest().getTestSuites();
        }
    
        @Override
        public List<SourceFile> getFiles() {
            return Lists.newArrayList(Iterables.concat(getMain().getFiles(), getTest().getFiles()));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top