- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 229 for isLetter (0.13 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Managed.java
* <p> * Managed types declare their structure as properties, via getter and setter methods. * Getter and setter methods are expected to conform to the well-known Java Bean naming conventions. * A read/write “name” property would be expressed via the following methods: * <pre> * void setName(String name); * String getName(); * </pre> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.2K bytes - Viewed (0) -
test/typeparam/settable.go
"strconv" ) // Various implementations of fromStrings(). type Setter[B any] interface { Set(string) *B } // Takes two type parameters where PT = *T func fromStrings1[T any, PT Setter[T]](s []string) []T { result := make([]T, len(s)) for i, v := range s { // The type of &result[i] is *T which is in the type list // of Setter, so we can convert it to PT. p := PT(&result[i]) // PT has a Set method.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 23:48:58 UTC 2022 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt
} override val setter: KaPropertySetterSymbol? get() = withValidityAssertion { if (!psi.isVar) { return null } val setter = psi.setter ?: return KaFe10PsiDefaultPropertySetterSymbol(psi, analysisContext) return KaFe10PsiPropertySetterSymbol(setter, analysisContext) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 6.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy
"normal setter" | "call site" | "setTestString(String)" | { it.testString = "value" } | false "boolean setter" | "call site" | "setTestFlag(boolean)" | { it.testFlag = true } | false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 11:38:52 UTC 2024 - 8.2K bytes - Viewed (0) -
test/typeparam/issue48838.go
// license that can be found in the LICENSE file. package main func main() { check[string]() } func check[T any]() { var result setter[T] switch result.(type) { case fooA[T]: case fooB[T]: } } type setter[T any] interface { Set(T) } type fooA[T any] struct{} func (fooA[T]) Set(T) {} type fooB[T any] struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 467 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
} def "fails when abstract property has only setter"() { when: extract(TypeWithAbstractWriteOnlyProperty) then: def ex = thrown InvalidManagedTypeException ex.message == """Type ${fullyQualifiedNameOf(TypeWithAbstractWriteOnlyProperty)} is not a valid managed type: - Property 'z' is not valid: it must both have an abstract getter and a setter""" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/deprecationFromLibrary.kt
@get:Deprecated("Deprecated getter") @set:Deprecated("Deprecated setter") var deprecatedProperty: Int = 0 get() = field set(value) { field = value } @Deprecated("Deprecated function") fun deprecatedFunction() { } @get:Deprecated("Deprecated getter") @set:Deprecated("Deprecated setter") var deprecatedAccessors: Int = 1 get() = field
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Mar 06 16:13:09 UTC 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
*/ private fun doesPropertyAccessorUseBody(propertyAccessor: KtPropertyAccessor, body: PsiElement): Boolean { return propertyAccessor.isSetter || (propertyAccessor.isGetter && body !is KtBlockExpression) } /** * Returns whether the function uses its body as an expression (i.e., the function uses the result value of the expression) or not. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
pkg/kubelet/nodestatus/setters_test.go
// but we may choose to sort in the setter at some future point // (e.g. if the image cache stopped sorting for us) sort.Sort(sliceutils.ByImageSize(tc.imageList)) return tc.imageList, tc.imageListError } // construct setter setter := Images(tc.maxImages, imageListFunc) // call setter on node node := &v1.Node{} err := setter(ctx, node) require.Equal(t, tc.expectError, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 21:47:24 UTC 2024 - 76.1K bytes - Viewed (0)