com.github.thorbenkuck.keller.repository.ConditionalSupplyingImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of keller-repo Show documentation
Show all versions of keller-repo Show documentation
Keller is a universal base-package
The newest version!
package com.github.thorbenkuck.keller.repository;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Optional;
final class ConditionalSupplyingImpl implements ConditionalSupplying {
private final RepositoryInternals repositoryInternals;
private final Class clazz;
private final ActionStack actionStack;
ConditionalSupplyingImpl(final RepositoryInternals repositoryInternals, final Class clazz) {
this(repositoryInternals, clazz, new ActionStack<>(repositoryInternals, clazz));
}
ConditionalSupplyingImpl(final RepositoryInternals repositoryInternals, final Class clazz, final ActionStack actionStack) {
this.repositoryInternals = repositoryInternals;
this.clazz = clazz;
this.actionStack = actionStack;
}
@Override
public T getFirst() {
final Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy