转自:http://qqdenghaigui.iteye.com/blog/1554541一,带函数Pred1, all(Pred, List) -> boolean()如果List中的每个元素作为Pred函数的参数执行,结果都返回true,那么all函数返回true,否则返回false例子:lis...
分类:
其他好文 时间:
2015-06-10 13:58:56
阅读次数:
149
TestCloneBean b = new TestCloneBean(); b.setIntegers(Lists.newArrayList(1)); String s = JsonUtils.getObjectMapperInstance().writeValueAs...
分类:
编程语言 时间:
2015-06-10 01:03:26
阅读次数:
210
今天的工作中遇到一个奇怪的问题,如下:"a different object with the same identifier value was already associated with the session: 19519146"该异常的上下文如下:1:在net.tcp绑定的wcf远程调用...
分类:
Web程序 时间:
2015-06-09 23:36:09
阅读次数:
199
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-06-09 21:35:35
阅读次数:
113
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-06-09 21:30:59
阅读次数:
96
leetcode - Intersection of Two Linked ListsWrite a program to find the node at which the intersection of two singly linked lists begins.For example, t...
分类:
其他好文 时间:
2015-06-09 16:38:07
阅读次数:
81
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:
You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional...
分类:
其他好文 时间:
2015-06-09 13:47:46
阅读次数:
114
No.56 Merge IntervalsGiven a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[...
分类:
其他好文 时间:
2015-06-09 13:29:51
阅读次数:
116
No.57 Insert IntervalGiven a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the int...
分类:
其他好文 时间:
2015-06-09 11:23:57
阅读次数:
136
1. 题目Add Two NumbersYou are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nod...
分类:
其他好文 时间:
2015-06-08 19:18:28
阅读次数:
173