Uniqueness
-
hashcode and equalsStaticPL/JAVA 2019. 8. 18. 20:15
1. Overview Stands for hashing algorithms to search efficiently used in HashMap, HashSet, and so on. Searching element within collection using hash code as address. 2. Procedure 3. Terminology 3.1 Uniqueness The same Objects which are true on equal() respectively must generate the same hash code. Different Object prefers to generate different hash code for performance of searching, but shouldn't..