Compare two version numbersversion1andversion1.Ifversion1>version2return 1, ifversion1 val2) return 1;26 if (val1 < val2) return -1;27 ...
分类:
其他好文 时间:
2015-01-12 16:26:29
阅读次数:
124
public List comparatorScoreAscTest(List jfAuctionList){ Collections.sort(jfAuctionList, new Comparator() { /* * int compare(Student o1, Student o2...
分类:
编程语言 时间:
2015-01-12 14:38:12
阅读次数:
112
Compare two version numbers version1 and version1.
If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.
You may assume that the version strings are non-empty and co...
分类:
其他好文 时间:
2015-01-12 09:22:09
阅读次数:
126
1、又和上次一样犯了个错误,深度缓冲标识位GL_DEPTH_BUFFER_BIT写成GL_COLOR_BUFFER_BIT。导致图形绘制没有在窗口中出现
2、注释是我的。
3、好消息:code compare插件和工具的使用。之前朋友推荐我使用,一直没有场景。现在知道:svn同文件的不同版本在同一路径下的对比使用smartSVN;不同文件或者不同路径任何版本对比使用code compare工具...
分类:
其他好文 时间:
2015-01-10 23:44:15
阅读次数:
528
Compare two version numbers version1 and version1.
If version1 > version2 return 1, if version1 version2 return -1, otherwise return 0.
You may assume that the version strings are non-empty and co...
分类:
其他好文 时间:
2015-01-10 16:40:07
阅读次数:
135
***************************************************Remote验证概要:如果要实现像用户注册那样,不允许出现重复的账户,就可以用到Remote验证。Remote特性允许利用服务器端的回调函数执行客户端的验证逻辑。它只是在文本框中输入字符的时候向服务器提交get请求,Remote验证..
分类:
Web程序 时间:
2015-01-09 19:34:59
阅读次数:
247
https://oj.leetcode.com/problems/compare-version-numbers/http://blog.csdn.net/u012243115/article/details/41969181publicclassSolution{
publicintcompareVersion(Stringversion1,Stringversion2){
if(version1==null||version2==null)
return0;//Invalidinput.
//NOTE!..
分类:
其他好文 时间:
2015-01-09 19:31:02
阅读次数:
164
代码:System.Windows.Forms.MessageBox.Show("abc".Equals("ABC", StringComparison.InvariantCultureIgnoreCase));//超级长,是不是,//参数StringComparsion:字符串比较,compare...
WHAT ARE MY STRENGTHS?Whenever you make a key decision or take a key action,write down what expect will happen.9 or 12 months later,compare the actual...
分类:
其他好文 时间:
2015-01-09 00:03:21
阅读次数:
403