public boolean equals(Name otherName)
{
if(!(this.getFirst().equalsIgnoreCase(otherName.getFirst())))
return false;
if(!(this.getMiddle().equalsIgnoreCase(otherName.getMiddle())))
return false;
if(!(this.getLast().equalsIgnoreCase(otherName.getLast())))
return false;
return true;
)
回复:求教: 关于java, 真是不太明白
所有跟帖:
•
This is a good one, last is 乱弹
-Java鉴定家-
♀
(0 bytes)
()
03/23/2005 postreply
09:06:26