public static <T>ReactiveSeq<T> fromStream(final Stream<T> stream){
  Objects.requireNonNull(stream);
  if (stream instanceof ReactiveSeq)   return (ReactiveSeq<T>)stream;
  return StreamUtils.reactiveSeq(stream,Optional.empty());
}

public static < T > ReactiveSeq < T > fromStream ( final Stream < T > stream ) { Objects . requireNonNull ( stream ) ; if ( stream instanceof ReactiveSeq ) return ( ReactiveSeq < T > ) stream ; return StreamUtils . reactiveSeq ( stream , Optional . empty ( ) ) ; }
construct a reactiveseq from a stream
