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

edu.stanford.nlp.util.Factory Maven / Gradle / Ivy

package edu.stanford.nlp.util;

import java.io.Serializable;

/**
 * A generified factory class which creates instances of a particular type.
 *
 * @author dramage
 */
public interface Factory extends Serializable {

  /**
   * Creates and returns a new instance of the given type.
   *
   * @return A new instance of the type T
   */
  public T create();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy