Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for convertToMap (0.32 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AttributesToMapConverter.java

     */
    public class AttributesToMapConverter {
    
        private AttributesToMapConverter() {}
    
        /**
         * Converts attributes to a stringy map preserving the order.
         */
        public static Map<String, String> convertToMap(AttributeContainer attributes) {
            ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
            for (Attribute<?> attribute : attributes.keySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformStepNode.java

            Map<String, String> sourceAttributes = AttributesToMapConverter.convertToMap(this.sourceAttributes);
            Map<String, String> targetAttributes = AttributesToMapConverter.convertToMap(targetComponentVariant.getAttributes());
            List<Capability> capabilities = targetComponentVariant.getCapabilities().asSet().stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/AbstractTransformExecution.java

            @Override
            public Map<String, String> getFromAttributes() {
                return AttributesToMapConverter.convertToMap(transform.getFromAttributes());
            }
    
            @Override
            public Map<String, String> getToAttributes() {
                return AttributesToMapConverter.convertToMap(transform.getToAttributes());
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. cmd/dependencyverifier/dependencyverifier.go

    			return true
    		}
    		if !matchVersion && b.name == a.name {
    			return true
    		}
    	}
    	return false
    }
    
    // converts `go mod graph` output modStr into a map of from->[]to references and the main module
    func convertToMap(modStr string) ([]module, map[module][]module) {
    	var (
    		mainModulesList = []module{}
    		mainModules     = map[module]bool{}
    	)
    	modMap := make(map[module][]module)
    	for _, line := range strings.Split(modStr, "\n") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 07 01:48:30 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top