# Class Collectors

java.lang.Object
java.util.stream.Collectors

public final class Collectors extends java.lang.Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static Collector<CharSequence, ?, String>`
  `joining()`
  `static <T> Collector<T,?,List<T>>`
  `toList()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### toList

    public static <T> Collector<T,?,List<T>> toList()

  - ### joining

    public static Collector<CharSequence, ?, String> joining()