Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collectMapIfPresentOrEmpty (0.12 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        protected LayeredOptions(List<O> options) {
            this.options = new ArrayList<>(options);
        }
    
        @Override
        public Optional<Map<String, String>> userProperties() {
            return collectMapIfPresentOrEmpty(Options::userProperties);
        }
    
        @Override
        public String source() {
            return String.format(
                    "layered(%s)", options.stream().map(Options::source).toList());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 26 17:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top