Interface ObjectToFile

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 ObjectToFile
The interface ObjectToFile provides a single method that stores the given java object as a transformable object to the given file
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    toFile(T javaObject, File file)
    Transforms the given java object as a transformable object and store it to the given file
  • Method Details

    • toFile

      <T> void toFile(T javaObject, File file)
      Transforms the given java object as a transformable object and store it to the given file
      Type Parameters:
      T - the generic type of the argument object type
      Parameters:
      javaObject - the java object to transform to a transformable object
      file - the file that stores the java object as a transformable object