Interface Objectable<T,P>

Type Parameters:
T - the generic type of the return type
P - the generic type of the input parameter aka the transformable object
All Known Subinterfaces:
FileToGenericObject<T>, TransformableToObject<T,P>
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 Objectable<T,P>
The interface Objectable provides a single method for transform the given transformable object to a java object
  • Method Summary

    Modifier and Type
    Method
    Description
    toObject(P transformable)
    Transforms the given transformable object to a java object
  • Method Details

    • toObject

      T toObject(P transformable)
      Transforms the given transformable object to a java object
      Parameters:
      transformable - the input that will be transformed to the generic java object
      Returns:
      the java object