📄 dbauthorization.java
字号:
package com.gs.db.dbimp;
import com.gs.db.Authorization;
/**
* Database implementation of the Authorization interface.
*/
public final class DbAuthorization implements Authorization {
private int userID;
/**
* Constucts a new DbAuthorization with the specified userID.
*
* @param userID the userID to create an authorization token with.
*/
protected DbAuthorization(int userID) {
this.userID = userID;
}
/**
* Constructs an <code>AlreadyLoginException</code> with the specified detail message.
* @param msg the detail message.
*/
public int getUserID() {
return userID;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -