📄 condition.java
字号:
package DataCenterPackage;
public class Condition {
public Condition(String property, String operation, String value) {
_property = property;
_operation = operation;
_value = value;
}
protected String _property;
protected String _operation;
protected String _value;
public final static String CO_BIGGERTHAN = ">";
public final static String CO_SMALLERTHAN = "<";
public final static String CO_EQUAL = "=";
public final static String CO_BIGGEROREQUAL = ">=";
public final static String CO_SMALLEROREQUAL = "<=";
public String toString(){
StringBuffer sb = new StringBuffer(_property);
sb.append(" ");
sb.append(_operation);
sb.append(" \'");
sb.append(_value);
sb.append("\'");
return sb.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -