protected void assertNotLinkedOrConsumedAndSet() {
        if (linkedOrConsumed) {
            throw new IllegalStateException("stream has already been operated upon or has been consumed");
        }
        linkedOrConsumed = true;
    }
@author pemi
@param <T> The type of the super class
@param <P> Pipeline type
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/stream/builder/AbstractStreamBuilder.java