// Path: src/main/java/se/fearless/fettle/Condition.java
// public interface Condition<C> {
// 	boolean isSatisfied(C context);
// }


import se.fearless.fettle.Condition;
import java.util.function.Predicate;
package se.fearless.fettle.util;



public class PredicateCondition<C> implements Condition<C> {

	private final Predicate<? super C> predicate;

	public PredicateCondition(Predicate<? super C> predicate) {
		this.predicate = predicate;
	}

	@Override
// Path: src/main/java/se/fearless/fettle/Condition.java
// public interface Condition<C> {
// 	boolean isSatisfied(C context);
// }


// Path: src/main/java/se/fearless/fettle/util/PredicateCondition.java
import se.fearless.fettle.Condition;
import java.util.function.Predicate;

package se.fearless.fettle.util;



public class PredicateCondition<C> implements Condition<C> {

	private final Predicate<? super C> predicate;

	public PredicateCondition(Predicate<? super C> predicate) {
		this.predicate = predicate;
	}

	@Override
	public boolean isSatisfied(C context) {