Class RefDataComponentExactPredicate
-
- All Implemented Interfaces:
-
java.util.function.Predicate
public final class RefDataComponentExactPredicate implements Predicate<T>
-
-
Field Summary
Fields Modifier and Type Field Description public final static RefDataComponentExactPredicateEMPTY
-
Constructor Summary
Constructors Constructor Description RefDataComponentExactPredicate()
-
Method Summary
Modifier and Type Method Description static RefDataComponentExactPredicate$Builderbuilder()static <T> RefDataComponentExactPredicateexpect(RefDataComponentType<T> component, T value)static RefDataComponentExactPredicateallOf(RefDataComponentMap map)static RefDataComponentExactPredicatesomeOf(RefDataComponentMap map, Array<RefDataComponentType<out Object>> types)native booleanisEmpty()native booleantest(RefDataComponentGetter componentGetter)native booleanalwaysMatches()native RefDataComponentPatchasPatch()-
-
Method Detail
-
builder
static RefDataComponentExactPredicate$Builder builder()
-
expect
static <T> RefDataComponentExactPredicate expect(RefDataComponentType<T> component, T value)
-
allOf
static RefDataComponentExactPredicate allOf(RefDataComponentMap map)
-
someOf
static RefDataComponentExactPredicate someOf(RefDataComponentMap map, Array<RefDataComponentType<out Object>> types)
-
isEmpty
native boolean isEmpty()
-
test
native boolean test(RefDataComponentGetter componentGetter)
-
alwaysMatches
native boolean alwaysMatches()
-
asPatch
native RefDataComponentPatch asPatch()
-
-
-
-