net.sf.javagimmicks.util.Consumer 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;
/**
* A generic interface for objects that can consumer other objects.
*
* @param
* the type of object(s) to consume
*/
public interface Consumer
{
/**
* Consumes the given object.
*
* @param instance
* the object to consume
*/
void accept(E instance);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy