목록전체 글 (32)
멍
객체의 주소값 비교 메소드 System.identityHashCode Object.hashCode
모든 Object에 작성되어 오버라이드 되는 hashCode와 System.identityHashCode는 서로 역할이 같다. java8 api hashCodepublic 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 ..
java
2019. 1. 10. 11:18
java reflection
https://noritersand.tistory.com/233
java
2018. 11. 30. 09:42