⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thread_pk.java

📁 Chinaxp 论坛源代码
💻 JAVA
字号:
/* * Copyright 2003 by Redsoft Factory Inc., * Apt 738, 68 Corporate Drive, Toronto, Ontario, Canada * All rights reserved. * * This software is the confidential and proprietary information * of Redsoft Factory Inc. ("Confidential Information").  You * shall not disclose such Confidential Information and shall use * it only in accordance with the terms of the license agreement * you entered into with Redsoft Factory. */package org.redsoft.forum.dao;/** * * @author Charles Huang * Date: 24-Feb-2004 * $Id: Thread_PK.java,v 1.2 2004/02/26 03:05:36 mustang Exp $ */public class Thread_PK {    public long id;    public Thread_PK() {    }    public Thread_PK( String id) {        this.id = Long.parseLong( id );    }    public boolean equals(Object o) {        if (this == o) return true;        if (!(o instanceof Thread_PK)) return false;        final Thread_PK thread_pk = (Thread_PK) o;        if (id != thread_pk.id) return false;        return true;    }    public int hashCode() {        return (int) (id ^ (id >>> 32));    }    public long getId() {        return id;    }    public String toString(){        return id + "";    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -