Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 236 for getters (0.28 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            succeeds("build")
            file("build/libs/example.jar").exists()
        }
    
        def 'can configure an extension using DependencyCollector in declarative DSL that uses Kotlin properties for the getters'() {
            given: "a plugin that creates a custom extension using a DependencyCollector"
            file("build-logic/src/main/kotlin/com/example/restricted/DependenciesExtension.kt") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            abstract int getNumber()
            abstract void setNumber(int value)
        }
    
        def "rule class can have abstract getter and setter"() {
            expect:
            extract(AbstractPropertyRules).empty
        }
    
        def "can create instance of rule class with abstract getter and setter"() {
            when:
            def schema = extractor.extract(AbstractPropertyRules)
            def instance = schema.factory.create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. src/syscall/js/js.go

    		return true
    	default:
    		panic("bad type")
    	}
    }
    
    // String returns the value v as a string.
    // String is a special case because of Go's String method convention. Unlike the other getters,
    // it does not panic if v's Type is not TypeString. Instead, it returns a string of the form "<T>"
    // or "<T: V>" where T is v's type and V is a string representation of v's value.
    func (v Value) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** For non-configurable properties, expose an link:{javadocPath}/org/gradle/api/provider/Provider.html[Provider] directly through a single getter.
    
    2. Avoid simplifying calls like `obj.getProperty().get()` and `obj.getProperty().set(T)` in your code by introducing additional getters and setters.
    
    3. When migrating your plugin to use providers, follow these guidelines:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/RepositorySystemSupplier.java

     * repository system instance(s) use {@link RepositorySystem#shutdown()} method on supplied instance(s).
     * <p>
     * Since Resolver 2.0 this class offers access to various components via public getters, and allows even partial object
     * graph construction.
     * <p>
     * Extend this class {@code createXXX()} methods and override to customize, if needed. The contract of this class makes
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  6. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

     * repository system instance(s) use {@link RepositorySystem#shutdown()} method on supplied instance(s).
     * <p>
     * Since Resolver 2.0 this class offers access to various components via public getters, and allows even partial object
     * graph construction.
     * <p>
     * Extend this class {@code createXXX()} methods and override to customize, if needed. The contract of this class makes
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 45.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayTable.java

            : new ArrayTable<R, C, V>(table);
      }
    
      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
      // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex?
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final @Nullable V[][] array;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

            : new ArrayTable<R, C, V>(table);
      }
    
      private final ImmutableList<R> rowList;
      private final ImmutableList<C> columnList;
    
      // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex?
      private final ImmutableMap<R, Integer> rowKeyToIndex;
      private final ImmutableMap<C, Integer> columnKeyToIndex;
      private final @Nullable V[][] array;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/Task.java

     *
     * <ul>
     *
     * <li>The {@code Task} object itself. This includes any property getters and setters declared by the {@code Task}
     * implementation class.  The properties of this scope are readable or writable based on the presence of the
     * corresponding getter and setter methods.</li>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  10. src/debug/dwarf/entry.go

    	}
    
    	data := d.abbrev
    	if off > uint64(len(data)) {
    		data = nil
    	} else {
    		data = data[off:]
    	}
    	b := makeBuf(d, unknownFormat{}, "abbrev", 0, data)
    
    	// Error handling is simplified by the buf getters
    	// returning an endless stream of 0s after an error.
    	m := make(abbrevTable)
    	for {
    		// Table ends with id == 0.
    		id := uint32(b.uint())
    		if id == 0 {
    			break
    		}
    
    		// Walk over attributes, counting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
Back to top