Class StreamOf

java.lang.Object
me.ehp246.aufjms.core.util.StreamOf

public class StreamOf
extends java.lang.Object
Author:
Lei Yang
  • Method Summary

    Modifier and Type Method Description
    static <T> java.util.stream.Stream<T> nonNull​(java.util.Collection<T> set)  
    static <T> java.util.stream.Stream<T> nonNull​(T[] array)
    A stream with null filtered.

    Methods inherited from class java.lang.Object

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

    • nonNull

      public static <T> java.util.stream.Stream<T> nonNull​(T[] array)
      A stream with null filtered.
      Parameters:
      array -
      Returns:
    • nonNull

      public static <T> java.util.stream.Stream<T> nonNull​(java.util.Collection<T> set)