why Maps are for lazy people

Often when programming I resort to using a Map instead of implementing the equals() and hashCode() methods and then using a Set. Of course what I really want is not having to write for loops looking for certain elements (really the most stupid method of all).

public void testEquals() {
assertFalse((new Double(1)).equals(new Integer(1)));
}

Does this test pass?