Block (driver-core 5.5.0 API) (original) (raw)
Package com.mongodb
Interface Block
Type Parameters:
T
- the value type
public interface Block
An interface for applying some logic against the given parameter.
Since:
3.0
Method Summary
Modifier and Type
Method
Descriptionvoid
[apply](#apply%28T%29)([T](Block.html "type parameter in Block") t)
Apply some logic to the value.
Method Details
apply
void apply(T t)
Apply some logic to the value.
Parameters:
t
- the value to apply to