Add the ability to get the count of objects in your storage
Closed this issue · 3 comments
Eyremba commented
Here is what I have added to my FileStorage file:
public int getCountAsInt(){ return storageMap.size(); }
And:
public String getCountAsString(){ return String.valueOf(storageMap.size()); }
DeBukkIt commented
I like your suggestion. However, I would restrict it to getCount returning an int value. The corresponding string representation should be implemented by each user. I'll implement it soon.
Eyremba commented
Nice. :)
Thanks.