类 StreamFactories

java.lang.Object
spring.turbo.util.collection.StreamFactories

public final class StreamFactories extends Object
Stream 创建工具
从以下版本开始:
1.0.13
作者:
应卓
另请参阅:
  • 方法详细资料

    • newStream

      @SafeVarargs public static <T> Stream<T> newStream(T... elements)
    • nullSafeNewStream

      @SafeVarargs public static <T> Stream<T> nullSafeNewStream(@Nullable T... elements)
    • newStream

      public static <T> Stream<T> newStream(@Nullable Iterator<T> iterator)
    • newStream

      public static <T> Stream<T> newStream(@Nullable Iterator<T> iterator, boolean parallel)
    • newSteam

      public static <T> Stream<T> newSteam(@Nullable Enumeration<T> enumeration)
    • newSteam

      public static <T> Stream<T> newSteam(@Nullable Enumeration<T> enumeration, boolean parallel)