ScalarCharacter-class        package:Biobase        R Documentation

_A _l_e_n_g_t_h _o_n_e (_s_c_a_l_a_r) _c_h_a_r_a_c_t_e_r _c_l_a_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     'ScalarCharacter' extends 'character' and provides a validity
     method that requires the vector to be of length one.  This class
     is intended to ease the validation burden on classes that require
     strings as slots.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form
     'new("ScalarCharacter", ...)'.

_S_l_o_t_s:

     '._D_a_t_a': Object of class '"character"' which must have length one
          for the object to be valid.

_E_x_t_e_n_d_s:

     Class '"character"', from data part. Class '"vector"', by class
     "character", distance 2.

_M_e_t_h_o_d_s:

     No methods defined with class "ScalarCharacter" in the signature.

_A_u_t_h_o_r(_s):

     Seth Falcon

_E_x_a_m_p_l_e_s:

     str <- new("ScalarCharacter")
     str
     str <- new("ScalarCharacter", "foo")
     str

