static <T> Seq<T> viewOf(final BaseSeq<? extends T> seq) {
		return seq.isEmpty()
			? empty()
			: new SeqView<>(new BaseSeqList<>(seq));
	}
Returns a sequence backed by the specified {@code seq}. (Changes to the
given sequence (if writeable) are "write through" to the returned
sequence.) This method acts as a bridge between basic sequences and
sequence-based APIs.

@since 6.0

@param seq the basic sequence containing the elements
@param <T> the element type
@return a sequence view of the given {@code seq}
@throws NullPointerException if the given list is {@code null}
jenetics/src/main/java/io/jenetics/util/Seq.java