method to return a singleton instance of this class concode_field_sep String DEFAULT_COLOR concode_elem_sep Vector colorList concode_elem_sep boolean stamp concode_elem_sep String[] ALL_COLORS concode_elem_sep Log log concode_elem_sep ChatState singleton concode_elem_sep Random generator concode_elem_sep Vector userList concode_field_sep void addUserChild concode_elem_sep boolean removeUserChild concode_elem_sep String generateColorCode concode_elem_sep boolean toggleTimeStamp concode_elem_sep void updateAll concode_elem_sep int getNumParticipants concode_elem_sep boolean getTimeStampEnabled
ChatState function ( ) { if ( singleton == null ) { singleton = new ChatState ( ) ; } return ( singleton ) ; }