You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Kunsheng Chen <ha...@yahoo.com> on 2008/08/18 04:27:47 UTC

Could anyone tell me How to Compare two Text type?

I am modifying wordCount example but having some trouble in comparing two Text type. I tried the method 'equals' in the document but it doesn't work at all.

Could anyone give me some example for that ?  Thanks