Class Consumers
java.lang.Object
org.apache.commons.lang3.function.Consumers
Provides 
Consumer instances.- Since:
- 3.13.0
- 
Method Summary
- 
Method Details- 
acceptApplies the givenConsumeraction to the object if the consumer is notnull. Otherwise, does nothing.- Type Parameters:
- T- the type of the argument the consumer accepts.
- Parameters:
- consumer- the consumer to consume.
- object- the object to be consumed.
- Since:
- 3.15.0
 
- 
nopGets the NOP Consumer singleton.- Type Parameters:
- T- type type to consume.
- Returns:
- the NOP Consumer singleton.
 
 
-