Algorytm Object.hashCode ()
Szukam algorytmuObject.hashCode ().
Ten kod jest natywny wObject.java.
Czy to dlatego
(a) kod jest w trakcie montażu - nigdy nie był w Javie ani w żadnym innym HLL
lub
(b) nie jest to po prostu ujawnione
?
W obu przypadkach szukam algorytmu (pseudokodu lub szczegółowego wyjaśnienia) „jakhashCode () jest obliczany ”- jakie są parametry do obliczeń i obliczeń?
Uwaga: to jesthashCode () zObiekt szukam-- nie takiego jak tenStrunowy lubhashMap / tabela.
// ================================================ ==========================
nowe dokumenty Java- jdk 8 mówi teraz
"The value returned by hashCode() is the object's hash code, which is the object's memory address in hexadecimal."