S. Palanigounder

Ranch Hand
+ Follow
since Apr 03, 2003
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by S. Palanigounder

TOGAF is a higher level architecture framework. It is why most Java developers/architects do not know it.

Ulises, Can you provide the override implementation for hashCode and equals that works?
14 years ago

Michael Angstadt wrote:

S. Palanigounder wrote:The default equals method uses the bit-wise comparison.

No it doesn't...it compares the reference values for equality, as in:

What is the difference between "==" operator and "equals" method?

For example, String a=”12”; String b=”12”; String c= new String(“12”); They all have same content. But are they "==" or "equals"?
14 years ago

If you do not overwrite the equals method, which means using the default equals method, your code works fine.
The default equals method uses the bit-wise comparison.
14 years ago
If hashCode is overwritten correctly, nothing will happen. The object can be the correct key used in HashMap.
14 years ago
When hashCode() is override, but not equals(), what will happen when object is used as the key in HashMap?
14 years ago

In response to the staggering numbers of American workers who have lost their jobs

AFL-CIO Community Services and the AFL-CIO community affiliate group, Working America have

created a national web site to help unemployed workers

UNEMPLOYMENTLIFELINE.COM: http://www.unemploymentlifeline.com/

People can enter their ZIP code at the site and see a listing of available resources

in their area, such as where to go for unemployment insurance, nutritional assistance,

heating subsidies, credit counseling, job training programs and much more.

This site also allows unemployed workers to talk to others who are in similar situations and gives

them a voice with thousands of others who have joined Working America

Share this site with your members, community and family

For more information call your local AFL-CIO Community Services staff or the AFL-CIO Community Services Regional Director, Armando Olivas at 213-387-1974 ext. 17

14 years ago

ArrayList<int> al1 = new ArrayList<int>();
ArrayList<Integer> al2 = new ArrayList<Integer>();

Any difference between them?
14 years ago

Ulf Dittmer wrote:Do you you have an opinion on that?

For the people originally from India, it might be an OK deal. Otherwise, it would be hard.
15 years ago