hashcode1 JAVA - hashCode( ) hashCode 메서드 public int hashCode() Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap. The general contract of hashCode is: ◦Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used .. 2020. 4. 29. 이전 1 다음 728x90 반응형