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

net.sf.javagimmicks.util.Supplier Maven / Gradle / Ivy

There is a newer version: 0.99-alpha1
Show newest version
package net.sf.javagimmicks.util;

/**
 * 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 Supplier
{
   /**
    * Retrieves the registered instance (if present)
    * 
    * @return the resulting instance or null if none is registered
    */
   E get();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy