public interface Validatable
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Checks if the instance is in a valid / useful state.
|
void validate()
IllegalArgumentException including a description of the
invalid state is thrown.Copyright © 2018. All rights reserved.