Package it.tidalwave.role
Interface Removable
-
- 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 RemovableThe role of an object that can be removed (e.g. deleted).- Author:
- Fabrizio Giudici
- Status: stable API
- Stereotype:
- Role
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<Removable>_Removable_static RemovableDEFAULTA defaultRemovablewhich does nothing (useful for implementing the NullObject pattern).
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremove()Removes this object from some implicit, or context-provided container (e.g.
-