编译的时候,发生如下错误:class file has wrong version 50.0, should be 49.0究其原因:由于引入的第三方jar包的编译器版本与当前编译器版本不一致造成。这个类是在JDK1.6的环境下编译的,把他放在JDK1.5环境的服务器下发生以上错误,只要将这个类重新...
分类:
其他好文 时间:
2015-01-28 11:03:21
阅读次数:
143
今天学习了使用 HTTP协议,从Android客户端往Tomcat服务器端以GET发送请求,途中无意中发现自己写的Handler类被Android提示:This Handler class should be static or leaks might occur. 往google上type,发.....
分类:
移动开发 时间:
2015-01-28 06:08:26
阅读次数:
157
题目链接:[Two Sum](https://oj.leetcode.com/problems/two-sum/ )Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of th...
分类:
其他好文 时间:
2015-01-27 23:36:58
阅读次数:
356
题目链接:Median of Two Sorted Arrays
There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).
这...
分类:
其他好文 时间:
2015-01-27 23:34:01
阅读次数:
169
描述:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the targ...
分类:
其他好文 时间:
2015-01-27 20:24:52
阅读次数:
213
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.思路分析:这题是 LeetCode Sort List需要使用的merge两个有序链表使得结果仍然有序这个子过程,详细...
分类:
其他好文 时间:
2015-01-27 15:05:13
阅读次数:
134
What You Should Already KnowBefore you continue you should have a basic understanding of the following:HTMLIf you want to study this subject first, fi...
分类:
Web程序 时间:
2015-01-27 10:51:20
阅读次数:
145
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, w...
分类:
编程语言 时间:
2015-01-27 09:28:10
阅读次数:
160
Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the fir...
分类:
其他好文 时间:
2015-01-27 00:26:06
阅读次数:
204
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2015-01-27 00:10:41
阅读次数:
257