Module transform.api.main
Interface ObjectableFromClass<T,P>
- Type Parameters:
T
- the generic type of the return typeP
- the generic type of the input parameter aka the transformable object
- All Known Subinterfaces:
FileToObjectFromClass<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The interface
ObjectableFromClass
provides a single method for transform a given
transformable object to a java object with giving explicitly the class type of the return type-
Method Summary
-
Method Details
-
toObject
Transforms the given transformable object to a java object- Parameters:
transformable
- the input that will be transformed to the generic java objectclazz
- the class from the class type of the object that will be returned- Returns:
- the java object
-