Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,668 for Element2 (0.21 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparator.java

        public DefaultVersionComparator() {
            baseComparator = new StaticVersionComparator();
        }
    
        @Override
        public int compare(Versioned element1, Versioned element2) {
            Version version1 = element1.getVersion();
            Version version2 = element2.getVersion();
            return baseComparator.compare(version1, version2);
        }
    
        @Override
        public Comparator<Version> asVersionComparator() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionComparator.java

    import java.util.Comparator;
    
    public interface VersionComparator extends Comparator<Versioned> {
        /**
         * Compares two versioned elements to see which is the 'latest'.
         */
        @Override
        int compare(Versioned element1, Versioned element2);
    
        Comparator<Version> asVersionComparator();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/issues1.go

    // unresolved underlying type.
    type Element3[TElem any] struct {
    	next, prev *Element3[TElem]
    	list *List3[TElem]
    	Value TElem
    }
    
    func (e *Element3[TElem]) Next() *Element3[TElem] {
    	if p := e.next; e.list != nil && p != &e.list.root {
    		return p
    	}
    	return nil
    }
    
    type List3[TElem any] struct {
    	root Element3[TElem]
    	len  int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:56:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/Element.java

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app;
    
    import org.gradle.integtests.fixtures.SourceFile;
    
    public class Element {
        protected SourceFile sourceFile(String path, String name, String content) {
            return new SourceFile(path, name, content);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 880 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/Element.java

    /**
     * Described model element.
     *
     * @since 1.0-milestone-5
     */
    public interface Element extends Model {
    
        /**
         * Returns the name of the element. Note that the name is not a unique identifier.
         *
         * @return The name of the element.
         * @since 1.0-milestone-5
         */
        String getName();
    
        /**
         * Returns the description of the element, or {@code null} if it has no description.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. platforms/jvm/java-compiler-plugin/src/main/java/org/gradle/internal/compiler/java/listeners/constants/ConstantsTreeVisitor.java

    import com.sun.source.util.TreePathScanner;
    import com.sun.source.util.Trees;
    
    import javax.lang.model.element.Element;
    import javax.lang.model.element.Modifier;
    import javax.lang.model.element.PackageElement;
    import javax.lang.model.element.TypeElement;
    import javax.lang.model.element.VariableElement;
    import javax.lang.model.util.Elements;
    import java.util.Set;
    
    import static com.sun.source.tree.Tree.Kind.METHOD_INVOCATION;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:06:26 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ivy/IvyExtraInfo.java

    import java.util.Map;
    
    /**
     * Represents the set of "extra" info elements in the Ivy descriptor.  These elements
     * are children of the "ivy" element, but are not defined in the Ivy schema and come
     * from other namespaces.
     */
    public interface IvyExtraInfo {
        /**
         * Returns the value of the element with the unique element name.  If there are multiple elements with the same element name,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 11 20:41:54 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ObjectArrays.java

      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ObjectArrays.java

      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 12 15:59:22 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top