Interface Cleaner.Cleanable
- Enclosing class:
Cleaner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Cleanable represents an object and a cleaning action registered
in a Cleaner.
- Since:
- 25 Jul 2024
- Author:
- Mark Taylor
-
Method Summary
Modifier and TypeMethodDescriptionvoidclean()Unregisters the cleanable and invokes the cleaning action.
-
Method Details
-
clean
void clean()Unregisters the cleanable and invokes the cleaning action.
-