Re: hashCode for 4 ints?



Well, as a Java newbie, I'm in a constant state of confusion. In the
1.4.2 doc for the HashMap put() method, it says:

<quote>
public Object put(Object key,
Object value)

Associates the specified value with the specified key in this map. If
the map previously contained a mapping for this key, the old value is
replaced.
</quote>

So could I trouble you to explain (or point to an explanation) of why
your example and the doc SEEM to contradict each other?

http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html#put(java.lang.Object,%20java.lang.Object)

I await humiliation.

.



Relevant Pages

  • Comments to the Danish Study of the Vinland Map
    ... has undergone restoration at least twice. ... above quote 1: "Moreover, FT-Raman analysis of the areas of VM parchment not ... In the third paragraph page 12 the report states that VM been restored by ... this seems to have been the second time the map was restored. ...
    (sci.archaeology)
  • Re: Has he published it yet?
    ... map is endorsed by many credentialed persons including Einstein. ... fallacy of appeal to authority and it is a blatantly example of quote ... is based on an abundance of empirical evidence that you ...
    (talk.origins)
  • "Israel must be wiped off the map." Oh Really?
    ... "Israel must be wiped off the map." ... In an article entitled 'Wiped off the Map'? ... To quote his exact words in Farsi: ... Israel the land mass, but the Israeli regime. ...
    (misc.invest.stocks)
  • Re: splitting fields
    ... Please QUOTE the message you replying with enough context to make ... Not everyone reads news through mathforum or google. ... Let R be the ring of polynomials with real coefficients in x. Let f ... I was very clear: THE OBVIOUS MAP. ...
    (sci.math)
  • Re: Table object
    ... implement List and Map. ... standard interface and implementation. ... public interface TableMap extends Map { ... public Object set; ...
    (comp.lang.java.programmer)

Loading