net.sf.javagimmicks.util.Supplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks Show documentation
Show all versions of gimmicks Show documentation
Utility classes, APIs and tools for Java
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