📄 simnonep.java
字号:
/* Sim_none_p.java
*/
package jmt.engine.simEngine;
/**
* A predicate which will <strong>not</strong> match any event on the
* deferred event queue.
* There is a publicly accessible instance of this predicate in the
* Sim_system class, called Sim_system.SIM_NONE, so the user does
* not need to create any new instances.
* @see eduni.simjava.Sim_predicate
* @see eduni.simjava.Sim_system
* @version 1.0, 4 September 1996
* @author Ross McNab
*/
public class SimNoneP extends SimPredicate {
/** Constructor.
*/
public SimNoneP() {
};
/** The match function called by Sim_system.simSelect(),
* not used directly by the user
*/
public boolean match(SimEvent ev) {
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -