* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.xmlrouter.common;
public class Id<T> {
- private int id;
+ private long id;
- public Id(int aId) {
+ public Id(long aId) {
id = aId;
}
- public int getId() {
+ public long getId() {
return id;
}
@Override
public int hashCode() {
- return id;
+ return ((Long) id).hashCode();
}
@Override