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

📄 account_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;import java.io.Serializable;/** * * @author Charles Huang * Date: 22-Feb-2004 * $Id: Account_PK.java,v 1.1 2004/02/23 04:11:50 mustang Exp $ */public class Account_PK implements Serializable {    public String userName;    public Account_PK() {    }    public Account_PK(String userName) {        this.userName = userName;    }    public String getUserName() {        return userName;    }    public boolean equals(java.lang.Object obj) {        if (obj == null || !this.getClass().equals(obj.getClass()))            return (false);        Account_PK o = (Account_PK) obj;        if (this.userName != o.getUserName() ) return (false);        return (true);    }    public int hashCode() {        return userName.hashCode();    }    public String toString() {        return userName;    }}

⌨️ 快捷键说明

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