public interface IIntProperty
| Modifier and Type | Interface and Description |
|---|---|
static class |
IIntProperty.WithState
A simple implementation that holds its own state.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInt()
Get the int value.
|
boolean |
isValidInt(int value)
Returns true if the int value is valid.
|
void |
setInt(int value)
Set the int value, regardless of it being a valid value or not.
|
default boolean |
trySetInt(int value)
Try to set the int value.
|
int getInt()
void setInt(int value)
value - the int valueboolean isValidInt(int value)
value - the int valuedefault boolean trySetInt(int value)
value - the int value