Term.field is interned, so equals() isn't needed. -Yonik On 4/26/05, Peter Veentjer - Anchor Men <[EMAIL PROTECTED]> wrote: [...] > Term other = (Term) o; > return field.equals(other.field) && > text.equals(other.text); > } > Third: if the field values of refer to the same text but to different > object, the result should be the same.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]