public void formatList()
{
String temp=this.deleteParenthesis(standValue);
valueList=Tools.string2List(temp, "\\,");
}
/**
* 去除字符串中的括号
* */
public String deleteParenthesis(String standValue)
{
String temp=null;
//去掉字符串中的"("
if(standValue.contains("("))
{
temp=standValue.substring(1);
}
//去掉字符串中的")"
if(standValue.contains(")"))
{
temp=temp.substring(0,temp.length()-1);
}
return temp;
}
public interface RuleCompare
{
boolean compare(String realValue);
}
{
String temp=this.deleteParenthesis(standValue);
valueList=Tools.string2List(temp, "\\,");
}
/**
* 去除字符串中的括号
* */
public String deleteParenthesis(String standValue)
{
String temp=null;
//去掉字符串中的"("
if(standValue.contains("("))
{
temp=standValue.substring(1);
}
//去掉字符串中的")"
if(standValue.contains(")"))
{
temp=temp.substring(0,temp.length()-1);
}
return temp;
}
public interface RuleCompare
{
boolean compare(String realValue);
}