Associating keys to persistent maps
In the following example, user_key01 and user_key02 are the two keys which are associated to the specific object of UserObject.
val ucls0 = new UserCls ("ucls0"){
"user_key01" : UserObject {avg_resp_time: 4.4, max_time: 8,
current_user: "John"},
"user_key02" : UserObject {avg_resp_time: 5.6, max_time: 4,
current_user: "Smith"}
};