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

com.bbn.bue.common.Inspector Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package com.bbn.bue.common;

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 - 2024 Weber Informatics LLC | Privacy Policy