Runs an action and returns a unit. @param action to be executed @return Unit
(@NotNull final Action0 action)
| 23 | * @return Unit |
| 24 | */ |
| 25 | @NotNull |
| 26 | public static Unit from(@NotNull final Action0 action) { |
| 27 | action.call(); |
| 28 | return DEFAULT; |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Ignores an action and returns a unit. |
no test coverage detected