I am working on a project that uses a pair of cards that can have more than 100,000 keys. Currently, I create cards in each runtime using a shortened form of data in order to save time, so that there are only 1000 keys on the cards. But I would like to check all the data that I have.
I am wondering how I can create a map in a class, and then save this object to the hard drive, and then be able to refer to this object in different classes so that I do not need to create and populate a map every time I test the class. I am writing a class in Java using Eclipse.
Edit: I believe it is called Object Serialization, but should I read the entire map before using it if it is serialized? Or will it be practically the same as calling a local variable?
source
share