标签:blog java div log bs as sql res tt
if (results.length() == 0) { return ""; } else { return results.substring(0, results.length() - 1); }
等价于
return (results.length()>0)?(results.substring(0, results.length() - 1)):"";
标签:blog java div log bs as sql res tt
原文地址:http://www.cnblogs.com/kxdblog/p/4056115.html