Package com.globalmentor.model
Interface Consumer<T>
-
- Type Parameters:
T
- The type of objects being consumed.
- All Known Implementing Classes:
AbstractRunnableBlockingQueueConsumer
public interface Consumer<T>
An object that consumes other objects.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
consume(T object)
Consumes an object.
-
-
-
Method Detail
-
consume
void consume(T object)
Consumes an object.- Parameters:
object
- The object to consume.
-
-