Code example for LinkedList

Methods: equals

0
		} else if (!lastName.equals(other.lastName))
			return false; 
		if (lstMessages == null) {
			if (other.lstMessages != null)
				return false; 
		} else if (!lstMessages.equals(other.lstMessages))
			return false; 
		return true; 
	} 
 
	/* 
	 * (non-Javadoc) 
	 * @see java.lang.Object#toString() 
	 */ 
	@Override 
	public String toString() {
		return this.firstName + " " + this.lastName
				+ ", " + this.email;
	} 
 
}