public class CharProperty<K>

  1. Object
  2. PropertyBase<Character, K>
  3. Property<Character, K>
  4. NumericProperty<Character, K>
  5. CharProperty
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

name String
the property name.

CharProperty

public CharProperty(String name, Character value)
Creates a char property with the given name and initial value.

Parameters

name String
the property name.
value Character
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