Didn't compile it, cause i didnt have time. No clue if it works, but it should
Using a HashSet instead of an ArrayList for the bools and has fields will make the get(), getDefault(), and getBool() methods run in constant time, which will make the code faster.
Didn't compile it, cause i didnt have time. No clue if it works, but it should
Using a HashSet instead of an ArrayList for the bools and has fields will make the get(), getDefault(), and getBool() methods run in constant time, which will make the code faster.