Class CollectorsUtils

java.lang.Object
nl.altindag.ssl.util.internal.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 Details

    • 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)
    • toArray

      public static <T> Collector<T,?,T[]> toArray(T[] template)
    • toStringArray

      public static Collector<String,?,String[]> toStringArray()