E-mail functionality uses theApache Commons Emaillibrary under the hood. You can use theplay.libs.Mailutility class to send e-mail very easily.A simpl...
分类:
其他好文 时间:
2015-04-22 13:03:22
阅读次数:
232
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?题目大意:给定一个链表,判断是否有环?解题思路:解法一:快慢指针,如果有环,那么快慢...
分类:
其他好文 时间:
2015-04-22 11:29:06
阅读次数:
116
时间过得太快了,都第二十天了,貌似没多少进步啊,好像有点理解freemarker了,freemarker和velocity还有jsp都是差不多的,模板语言,freemarker不会内嵌java代码,会做到mvc架构要求的表现层和控制层分离,能够很好的和struts框架结合,应该也可以和Sprin.....
分类:
其他好文 时间:
2015-04-22 00:08:17
阅读次数:
148
find the first unique character in a string and you can just traverse this string only one time. if there is no such character, just return '#' and '#' will not appear in the string, else return the ...
分类:
其他好文 时间:
2015-04-21 22:53:16
阅读次数:
167
When prototyping (or even finalizing) data structures such as trees, it can be useful to have a flexible class that will allow you to specify arbitrar...
分类:
编程语言 时间:
2015-04-21 22:13:28
阅读次数:
144
最近一个月刚开始接触Hadoop,这两天在搞排序的时候遇到了点问题,终于解决了,所以想着可以将其记录下来,防止以后忘记,还可以为我国的社会主义建设做贡献。本篇文章的内容主要就是在Hadoop使用中遇到的各种问题以及解决方法。
问题1: Can’t read partitions file
背景:
Hadoop进行全局排序时有一个非常高效的算法–terasort,这种方法充分利用...
分类:
其他好文 时间:
2015-04-21 20:43:22
阅读次数:
130
If you want the references initialized,you can do it: 1.At the point the objects are defined.This means that they'll always be initialized before the....
分类:
编程语言 时间:
2015-04-21 20:03:52
阅读次数:
132
TCP data is buffered at both sender and receiver. The size of the receiver's socket receive buffer determines how much data can be in flight without a...
分类:
其他好文 时间:
2015-04-21 17:22:13
阅读次数:
159
MySql报错: You can't specify target table 'table name' for update in FROM clause2008-09-17 13:51天上人间兮|分类:数据库DB|浏览43478次在Mysql下执行: delete from blur_a...
分类:
数据库 时间:
2015-04-21 14:31:50
阅读次数:
181
Top 4 Java exceptions Raygun can help fixProvider RelatedResourceTech Stuff Callum Gavin April 20, 2015 Leave a commentThere are a bunch of Java excep...
分类:
编程语言 时间:
2015-04-21 14:18:56
阅读次数:
175