preferences.java
来自「The Java Network Simulator is a Java imp」· Java 代码 · 共 28 行
JAVA
28 行
/**
* Preferences.java
*
*
*
* @author Einar Vollset <einar.vollset@ncl.ac.uk>
*
*/
package fake.net;
public class Preferences
{
private Preferences(){}//prevents instantiation
/**
* This should give the hostname of the machine where the JNS dynamic
* scheduler is running.
*/
public static final String SERVER_HOST_NAME = "localhost";
/**
* This should give the port no on which the RMIRegistry is running on the
* above machine.
*/
public static final int SERVER_PORT_NO = 3778;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?