trurwsuieghfdskg
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package net.minecraft;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@FunctionalInterface
|
||||
public interface CharPredicate {
|
||||
boolean test(char p_125855_);
|
||||
|
||||
default CharPredicate and(CharPredicate p_178287_) {
|
||||
Objects.requireNonNull(p_178287_);
|
||||
return (p_178295_) -> {
|
||||
return this.test(p_178295_) && p_178287_.test(p_178295_);
|
||||
};
|
||||
}
|
||||
|
||||
default CharPredicate negate() {
|
||||
return (p_178285_) -> {
|
||||
return !this.test(p_178285_);
|
||||
};
|
||||
}
|
||||
|
||||
default CharPredicate or(CharPredicate p_178292_) {
|
||||
Objects.requireNonNull(p_178292_);
|
||||
return (p_178290_) -> {
|
||||
return this.test(p_178290_) || p_178292_.test(p_178290_);
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user