https://www.javacodegeeks.com/2022/01/java-why-a-set-can-contain-duplicate-elements.html
Java: Why a Set Can Contain Duplicate Elements