Class CollectorsSupport


  • @API(status=INTERNAL)
    public class CollectorsSupport
    extends java.lang.Object
    Provide implementation for stream to collect to LinkedHashSet in order to preserve order and to make random-based generation deterministic
    • Method Summary

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

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

      • toLinkedHashSet

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