I am trying to instantiate a map structure with the following
Map<Timestamp, Test> map = new Map<Timestamp, Test>();
where Test is a class with 3 different types of variables and Timestamp is a java.sql.Timestamp type.
But I am getting the following error
Can not instantiate type
Map<Timestamp, Test>
My primary objective is to create a map structure where I can store multiple values/objects (of different types) from a Class implementation under the same timestamp key.