Interface BooleanComponentType.BooleanDataComponentFactory
- All Superinterfaces:
DataComponentType.DataComponentFactory<Boolean>
- Enclosing class:
- BooleanComponentType
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface BooleanComponentType.BooleanDataComponentFactory
extends DataComponentType.DataComponentFactory<Boolean>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataComponent<Boolean,BooleanComponentType> create(DataComponentType<Boolean> type, Boolean value) Deprecated.createPrimitive(BooleanComponentType type, boolean value)
-
Method Details
-
createPrimitive
-
create
@Deprecated default DataComponent<Boolean,BooleanComponentType> create(DataComponentType<Boolean> type, Boolean value) Deprecated.- Specified by:
createin interfaceDataComponentType.DataComponentFactory<Boolean>
-