Class CollectionCollectors


  • public final class CollectionCollectors
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.function.Supplier<java.util.stream.Collector> SET_COLLECTOR  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.util.function.Supplier<java.util.stream.Collector> setFactory()  
      static <T> java.util.stream.Collector<T,​?,​java.util.Set<T>> toUnmodifiableSet()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SET_COLLECTOR

        private static final java.util.function.Supplier<java.util.stream.Collector> SET_COLLECTOR
    • Constructor Detail

      • CollectionCollectors

        private CollectionCollectors()
    • Method Detail

      • setFactory

        private static java.util.function.Supplier<java.util.stream.Collector> setFactory()
      • toUnmodifiableSet

        public static <T> java.util.stream.Collector<T,​?,​java.util.Set<T>> toUnmodifiableSet()