Class CharProperty<K>


public class CharProperty<K> extends NumericProperty<Character, K>
This is the char specific version of numeric property
  • Constructor Details

    • CharProperty

      public CharProperty(String name)

      Creates a char property with the given name.

      Parameters
      • name: the property name.
    • CharProperty

      public CharProperty(String name, Character value)

      Creates a char property with the given name and initial value.

      Parameters
      • name: the property name.

      • value: 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