📄 directiveposition.java
字号:
/**
* @author <a href="mailto:jiahx@gctech.com.cn">贾洪祥 </a>
* @since 2004-8-24 16:12:34
* @version 1.0.0
*/
package com.gctech.sms.sp.dwzb;
public class DirectivePosition {
public static final DirectivePosition OVERALL_START = new DirectivePosition(
"OVERALL_START");
public static final DirectivePosition OVERALL_END = new DirectivePosition(
"OVERALL_END");
public static final DirectivePosition SEGMENT_START = new DirectivePosition(
"SEGMENT_START");
public static final DirectivePosition SEGMENT_END = new DirectivePosition(
"SEGMENT_END");
private final String myName; // for debug only
private DirectivePosition(String name) {
myName = name;
}
public boolean equals(Object dp) {
if (dp == null) {
return false;
} else {
return this.myName.equals(((DirectivePosition) dp).toString());
}
}
public String toString() {
return myName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -