SELF - Self type.public interface WithRequiredMixin<SELF extends HasRequired> extends HasRequired
HasRequired.| Modifier and Type | Method and Description |
|---|---|
default SELF |
withoutRequired()
Calls and returns
withRequired(boolean) with false. |
default SELF |
withRequired()
Calls and returns
withRequired(boolean) with true. |
default SELF |
withRequired(boolean state)
Chains
HasRequired.setRequired(boolean) and returns itself. |
isRequired, setRequireddefault SELF withRequired(boolean state)
HasRequired.setRequired(boolean) and returns itself.state - Required state.default SELF withRequired()
withRequired(boolean) with true.default SELF withoutRequired()
withRequired(boolean) with false.Copyright © 2024 Miki. All rights reserved.