private Stream<T> toStream() {
        final Stream<T> stream = Stream.of(element);
        return parallel ? stream.parallel() : stream;
    }
Make the problem someone else's...

@return A "real" Stream with the single element
common-parent/singletonstream/src/main/java/com/speedment/common/singletonstream/SingletonStream.java