Class UStream

java.lang.Object
ushiosan.jvm.collections.UStream

public final class UStream extends Object
  • Method Details

    • multipleFilters

      @SafeVarargs @NotNull public static <T> @NotNull Stream<T> multipleFilters(@NotNull @NotNull Stream<T> base, Predicate<T> @NotNull ... predicates)
      Apply multiple filters to a single data stream
      Type Parameters:
      T - the type of data flow
      Parameters:
      base - the stream to be filtered
      predicates - the multiple data filters
      Returns:
      the result of the data filters