1 53 package org.bsf.remoting.http; 54 55 import java.io.Serializable ; 56 57 60 61 public class HttpServiceKey implements Serializable { 62 int key; 63 64 public HttpServiceKey(int p_userServiceIndex) { 65 key = p_userServiceIndex; 66 } 67 68 public boolean equals(Object obj) { 69 if (!(obj instanceof HttpServiceKey)) return false; 70 return (((HttpServiceKey) obj).key == this.key); 71 } 72 73 public int hashCode() { 74 return key; 75 } 76 } | Popular Tags |