package com.akjava.gwt.lib.client;
/*
 * simple data
 */
public class HeaderAndValue{
	private int id;
	private String header;
	private String data;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getHeader() {
		return header;
	}
	public void setHeader(String header) {
		this.header = header;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
	public HeaderAndValue(int id,String header,String data){
		this.id=id;
		this.header=header;
		this.data=data;
	}
}
@@ -594,9 +594,844 @@
 a;%0D%0A%09%7D%0D%0A
+%09@Override%0D%0A%09public int hashCode() %7B%0D%0A%09%09final int prime = 31;%0D%0A%09%09int result = 1;%0D%0A%09%09result = prime * result + ((data == null) ? 0 : data.hashCode());%0D%0A%09%09result = prime * result + ((header == null) ? 0 : header.hashCode());%0D%0A%09%09result = prime * result + id;%0D%0A%09%09return result;%0D%0A%09%7D%0D%0A%09@Override%0D%0A%09public boolean equals(Object obj) %7B%0D%0A%09%09if (this == obj)%0D%0A%09%09%09return true;%0D%0A%09%09if (obj == null)%0D%0A%09%09%09return false;%0D%0A%09%09if (getClass() != obj.getClass())%0D%0A%09%09%09return false;%0D%0A%09%09HeaderAndValue other = (HeaderAndValue) obj;%0D%0A%09%09if (data == null) %7B%0D%0A%09%09%09if (other.data != null)%0D%0A%09%09%09%09return false;%0D%0A%09%09%7D else if (!data.equals(other.data))%0D%0A%09%09%09return false;%0D%0A%09%09if (header == null) %7B%0D%0A%09%09%09if (other.header != null)%0D%0A%09%09%09%09return false;%0D%0A%09%09%7D else if (!header.equals(other.header))%0D%0A%09%09%09return false;%0D%0A%09%09if (id != other.id)%0D%0A%09%09%09return false;%0D%0A%09%09return true;%0D%0A%09%7D%0D%0A%09%0D%0A
 %7D

implement equals