Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 229 for isGetter (0.23 sec)

  1. src/mdo/java/WrapperList.java

            this.setter = setter;
            this.mapper = mapper;
            this.revMapper = revMapper;
        }
    
        @Override
        public T get(int index) {
            return mapper.apply(getter.get().get(index));
        }
    
        @Override
        public int size() {
            return getter.get().size();
        }
    
        @Override
        public boolean add(T t) {
            Objects.requireNonNull(t);
            if (setter != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/rsc.io/markdown/html.go

    	switch {
    	case strings.HasPrefix(t, "<!--"):
    		end = "-->"
    	case strings.HasPrefix(t, "<?"):
    		end = "?>"
    	case strings.HasPrefix(t, "<![CDATA["):
    		end = "]]>"
    	case strings.HasPrefix(t, "<!") && len(t) >= 3 && isLetter(t[2]):
    		if 'a' <= t[2] && t[2] <= 'z' {
    			// Goldmark and the Dingus only accept <!UPPER> not <!lower>.
    			p.corner = true
    		}
    		end = ">"
    	}
    	if end != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/MethodOptionElement.java

                PropertySetter setter = mutateUsingReturnValue(method);
                return AbstractOptionElement.of(optionName, option, setter, optionValueNotationParserFactory);
            }
            if (HasMultipleValues.class.isAssignableFrom(method.getReturnType())) {
                assertCanUseMethodReturnType(optionName, method);
                PropertySetter setter = mutateUsingReturnValue(method);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 11:28:20 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/SingleValueOptionElement.java

        private final PropertySetter setter;
        private final NotationParser<CharSequence, ?> notationParser;
    
        public SingleValueOptionElement(String optionName, Option option, Class<?> optionType, PropertySetter setter, OptionValueNotationParserFactory notationParserFactory) {
            super(optionName, option, String.class, setter.getDeclaringClass());
            this.setter = setter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java

                    return method;
                }
                if (iser.equals(methodName) && PropertyAccessorType.of(method) == PropertyAccessorType.IS_GETTER) {
                    return method;
                }
            }
            return null;
        }
    
        /**
         * Locates the property with the given name as a writable property. Searches only public properties.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top