public class CharProperty<K>
This is the char specific version of numeric property
Constructors
public CharProperty(String name) | Creates a char property with the given name. |
public CharProperty(String name, Character value) | Creates a char property with the given name and initial value. |
Methods
public char getChar() | Returns the value as a primitive, if the value is null/nullable this will fail… |
Inherited methods
Constructor details
CharProperty
public CharProperty(String name)Creates a char property with the given name.
Parameters
nameString- the property name.
CharProperty
public CharProperty(String name, Character value)Creates a char property with the given name and initial value.
Parameters
nameString- the property name.
valueCharacter- the initial property value.
Method details
getChar
public char getChar()Returns the value as a primitive, if the value is null/nullable this will fail…
Returns
the numeric value