com.speedment.jpastreamer.builder.standard.StandardBuilderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of builder-standard Show documentation
Show all versions of builder-standard Show documentation
Standard provider for creating stream builders
/*
* JPAstreamer - Express JPA queries with Java Streams
* Copyright (c) 2020-2022, Speedment, Inc. All Rights Reserved.
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details.
*
* See: https://github.com/speedment/jpa-streamer/blob/master/LICENSE
*/
package com.speedment.jpastreamer.builder.standard;
import com.speedment.jpastreamer.builder.BuilderFactory;
import com.speedment.jpastreamer.builder.standard.internal.InternalBuilderFactory;
import com.speedment.jpastreamer.renderer.Renderer;
import com.speedment.jpastreamer.streamconfiguration.StreamConfiguration;
import java.util.stream.Stream;
public final class StandardBuilderFactory implements BuilderFactory {
private final BuilderFactory delegate;
public StandardBuilderFactory() {
this.delegate = new InternalBuilderFactory();
}
@Override
public Stream createBuilder(final StreamConfiguration streamConfiguration, final Renderer renderer) {
return delegate.createBuilder(streamConfiguration, renderer);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy