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

edu.isi.nlp.Inspector Maven / Gradle / Ivy

The newest version!
package edu.isi.nlp;

import com.google.common.annotations.Beta;

/**
 * An object which can inspect some item (of type {@code T}). {@link #finish()} is expected to be
 * called when there are no more items to inspect. What happens if more items are inspected after
 * finishing is not defined by the interface contract.
 *
 * @param  Contravariant
 */
@Beta
public interface Inspector extends Finishable {

  void inspect(T item);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy