`
xcy13638760
  • 浏览: 52471 次
社区版块
存档分类
最新评论

优质代码

 
阅读更多
1、buf.append("(");
if (argTypes != null) {
for (int i = 0; i < argTypes.length; i++) {
if (i > 0) {
buf.append(", ");
}
Class<?> c = argTypes[i];
buf.append((c == null) ? "null" : c.getName());
}
}

buf.append(")");

2、public static int compare(int x, int y) {
return (x < y) ? -1 : ((x == y) ? 0 : 1);
}

3、


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics