http://stackoverflow.com/questions/767372/java-string-equals-versus
Use the String.equals(String other)
function to compare strings, not the ==
operator.
The function checks the actual contents of the string, the ==
operator checks whether the references to the objects are equal.
'Programming' 카테고리의 다른 글
(video) Organizing Functional Code for Parallel Execution; or, foldl and foldr Considered Slightly Harmful (0) | 2012.07.24 |
---|---|
What else is there in Python? (0) | 2012.07.24 |
D Bare Bones (0) | 2012.07.23 |
How do I extract an HTML title with Perl? (0) | 2012.07.22 |
How to Distribute Commercial Python Applications (0) | 2012.07.22 |