public class BooleanProperty<K>
- Object
- PropertyBase<Boolean, K>
- Property<Boolean, K>
- BooleanProperty
This is the boolean specific version of property
Constructors
public BooleanProperty(String name) | Creates a boolean property with the given name. |
public BooleanProperty(String name, Boolean value) | Creates a boolean property with the given name and initial value. |
Methods
public boolean getBoolean() | Returns the value as a primitive, if the value is null/nullable this will fail… |
Inherited methods
Constructor details
BooleanProperty
public BooleanProperty(String name)Creates a boolean property with the given name.
BooleanProperty
public BooleanProperty(String name, Boolean value)Creates a boolean property with the given name and initial value.
Method details
getBoolean
public boolean getBoolean()Returns the value as a primitive, if the value is null/nullable this will fail…
Returns
the numeric value