
net.sf.javagimmicks.lang.ObjectContainer Maven / Gradle / Ivy
package net.sf.javagimmicks.lang;
/**
* This interface specifies an object that can contain and provide another
* object (of a given type).
*
* @param
* the type of object the container can carry
*/
public interface ObjectContainer
{
/**
* Retrieves the registered instance (if present)
*
* @return the resulting instance or null
if none is registered
*/
E get();
}