Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for setItems (1.12 sec)

  1. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/components/internal/TrackingReportRenderer.java

        private final ReportRenderer<? super T, ? super E> delegate;
    
        public TrackingReportRenderer(ReportRenderer<? super T, ? super E> delegate) {
            this.delegate = delegate;
        }
    
        public Set<T> getItems() {
            return items;
        }
    
        @Override
        public void render(T model, E output) throws IOException {
            if (items.add(model)) {
                delegate.render(model, output);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs-asciidoctor-extensions-base/src/main/resources/multi-language-samples.js

      function initPreferredBuildScriptLanguage() {
        var lang = window.localStorage.getItem("preferred-gradle-dsl");
        if (GRADLE_DSLs.indexOf(lang) === -1) {
          window.localStorage.setItem("preferred-gradle-dsl", "kotlin");
          lang = "kotlin";
        }
        return lang;
      }
    
      function capitalizeFirstLetter(string) {
        return string.charAt(0).toUpperCase() + string.slice(1);
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtFunctionLikeSignature.kt

    import org.jetbrains.kotlin.analysis.api.symbols.KaValueParameterSymbol
    import org.jetbrains.kotlin.analysis.api.types.KaSubstitutor
    
    /**
     * A signature of a function-like symbol. This includes functions, getters, setters, lambdas, etc.
     */
    public abstract class KaFunctionLikeSignature<out S : KaFunctionLikeSymbol> : KaCallableSignature<S>() {
        /**
         * The use-site-substituted value parameters.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1010 bytes
    - Viewed (0)
  4. src/math/big/doc.go

    to the float64 argument f. More flexibility is provided with explicit
    setters, for instance:
    
    	var z1 Int
    	z1.SetUint64(123)                 // z1 := 123
    	z2 := new(Rat).SetFloat64(1.25)   // z2 := 5/4
    	z3 := new(Float).SetInt(z1)       // z3 := 123.0
    
    Setters, numeric operations and predicates are represented as methods of
    the form:
    
    	func (z *T) SetV(v V) *T          // z = v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                return isReadable() && setters.stream().noneMatch(method -> method.getParameterTypes()[0].equals(getType()));
            }
    
            public boolean isReadable() {
                return mainGetter != null;
            }
    
            public boolean isWritable() {
                return !setters.isEmpty();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

                import org.gradle.model.Managed
    
                @Managed
                interface CollectionType {
                    ${collectionType.name}<String> getItems()
                }
            """
    
            then:
            failWhenRealized(managedType, canNotBeConstructed("CollectionType"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy

    import org.gradle.model.Managed
    
    class ListModelProjectionTest extends AbstractCollectionModelProjectionTest<String, List<String>> {
    
        @Managed
        static interface Internal {
            List<String> getItems()
        }
    
        @Override
        Class<?> holderType() {
            Internal
        }
    
        def "can remove using index"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/tasks/OutputDirectory.java

    import java.lang.annotation.*;
    
    /**
     * <p>Marks a property as specifying an output directory for a task.</p>
     *
     * <p>This annotation should be attached to the getter method in Java or the property in Groovy.
     * Annotations on setters or just the field in Java are ignored.</p>
     *
     * <p>The directory will be created before the task is executed if it does not exist already.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 12:53:53 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. platforms/software/resources-gcs/src/main/java/org/gradle/internal/resource/transport/gcp/gcs/GcsClient.java

                    // Add the items in this page of results to the list we'll return.
                    // GCS API will return null on an empty list.
                    if(objects.getItems() != null) {
                        results.addAll(objects.getItems());
                    }
    
                    // Get the next page, in the next iteration of this loop.
                    listRequest.setPageToken(objects.getNextPageToken());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:20 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top