add Collectors for collecting into unmodifiable List, Set, and Map

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: None
    • Component/s: core-libs

      Add Collector implementations that collect into the unmodifiable List, Set, and Map implementations that are currently returned by List.of(), Set.of(), and Map.of().

      On Collectors:

      toUnmodifiableList()
      toUnmodifiableSet()
      toUnmodifiableMap(keyFunc, valueFunc)
      toUnmodifiableMap(keyFunc, valueFunc, mergeFunc)

            Assignee:
            Stuart Marks
            Reporter:
            Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: