public interface Adapter<From,To>
Adapter definition that allow adapting objects to and from each other
- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
Method Summary
default boolean
If the type is a generic type, unwrap and wrap again.
-
Method Details
-
unwrap
default boolean unwrap()
If the type is a generic type, unwrap and wrap again.
So a list of a object, the object will be adapted and added to a new list.
- Returns:
- if we need to unwrap
-
-