The keys have to be integer or string ( floating point numbers are truncated to integer ) .
Values can be of arbitrary types .
The keys have to be integer or string ( floating point numbers are truncated to integer ) , while values can be of arbitrary types .