2025-11-24 22:52:51 +03:00

27 lines
612 B
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft;
import java.util.Objects;
@FunctionalInterface
public interface CharPredicate {
public boolean test(char var1);
default public CharPredicate and(CharPredicate other) {
Objects.requireNonNull(other);
return value -> this.test(value) && other.test(value);
}
default public CharPredicate negate() {
return value -> !this.test(value);
}
default public CharPredicate or(CharPredicate other) {
Objects.requireNonNull(other);
return value -> this.test(value) || other.test(value);
}
}