Interface Customizer<T>
-
- Type Parameters:
T- the type of the input to the operation
- 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 interface Customizer<T>Callback interface that accepts a single input argument and returns no result.- Since:
- 5.2
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(T t)Performs the customizations on the input argument.static <T> Customizer<T>withDefaults()Returns aCustomizerthat does not alter the input argument.
-
-
-
Method Detail
-
customize
void customize(T t)
Performs the customizations on the input argument.- Parameters:
t- the input argument
-
withDefaults
static <T> Customizer<T> withDefaults()
Returns aCustomizerthat does not alter the input argument.- Returns:
- a
Customizerthat does not alter the input argument.
-
-