Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collectMapIfPresentOrEmpty (0.1 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top