All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.api.helpers.builders.WithFromBuilder Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.api.helpers.builders;

/**
 * Helper interface to indicate that a builder can createContent an object based off an existing
 * object of the same type
 *
 * @param  The builder class
 * @param  The class to derive from
 */
public interface WithFromBuilder {

  /**
   * Add the informaton from the provided param
   *
   * @param from the object to build from
   * @return builder based on an existing object
   */
  E from(final A from);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy