Class CollectorsUtils


  • public final class CollectorsUtils
    extends Object
    NOTE: Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
    Author:
    Hakan Altindag
    • Method Detail

      • toUnmodifiableList

        public static <T> Collector<T,​?,​List<T>> toUnmodifiableList()
      • toModifiableList

        public static <T> Collector<T,​?,​List<T>> toModifiableList()
      • toListAndThen

        public static <T,​U> Collector<T,​?,​U> toListAndThen​(Function<List<T>,​U> finisher)