
com.github.dakusui.crest.matcherbuilders.primitives.AsBoolean Maven / Gradle / Ivy
package com.github.dakusui.crest.matcherbuilders.primitives;
import com.github.dakusui.crest.matcherbuilders.ObjectMatcherBuilder;
import com.github.dakusui.crest.utils.printable.Predicates;
import java.util.function.Function;
public class AsBoolean extends ObjectMatcherBuilder> {
public AsBoolean(Function super IN, ? extends Boolean> function) {
super(function);
}
public AsBoolean super IN> isTrue() {
this.check(Predicates.isTrue());
return this;
}
public AsBoolean super IN> isFalse() {
this.check(Predicates.isFalse());
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy