package at.knowcenter.wag.egov.egiz.web; public class PDFContainer { public long id; public byte[] pdf; public PDFContainer(byte[] pdf, long id) { this.id = id; this.pdf = pdf; } public boolean equals(Object pc) { if(pc instanceof PDFContainer) { return (this.id == ((PDFContainer)pc).id); } return false; } public int hashCode() { Long l = new Long(this.id); return l.intValue(); } }