- 浏览: 467031 次
- 性别:
- 来自: 北京
最新评论
-
xiangxm:
Java 强引用、 软引用、 弱引用、虚引用 -
nml-lyb:
123
Mule 的第一个例子 -
nml-lyb:
http://www.baidu.com
Mule 的第一个例子 -
white___ant:
...
Java 强引用、 软引用、 弱引用、虚引用 -
joeyon:
...
Java NIO介绍
文章列表
[置顶] 编程tips
- 博客分类:
- C C++
-------------------------------------------------------------------------
都是i=i+1的意思,区别在于i++是i先不自加,在语句完后自加,++i先自加;
列如a=1+ i++;i本来为1的话,这里a=1+1;语句完后i才加1为2;
a=1+ ++i的话就先i=i+1;i=2.然后a=i+1, ...
Java中断机制
- 博客分类:
- Multi-thread
基础
http://www.infoq.com/cn/articles/java-interrupt-mechanism
http://hapinwater.iteye.com/blog/310558
新完应儿: lockInterruptibly -> 实现了可以被中断的线程阻塞(对比synchronized(this),这种阻塞无法被中断)
http://lzmhehe.iteye.com/blog/402053
http://www.softwaretestinghelp.com/selenium-grid-selenium-tutorial-29/
We are now close to the end of this comprehensive Selenium tutorials series. Next week, we will conclude this online Selenium Training series with “effort estimation of Selenium Projects” and “Selenium Interview questions an ...
http://www.softwaretestinghelp.com/selenium-interview-questions-answers/
In this tutorial, we have listed the 50 most popularly asked Selenium interview questions including Selenium WebDriver interview questions.
A quick note about this Selenium article series before we move to this last tutor ...
http://www.softwaretestinghelp.com/database-testing-using-selenium-webdriver-selenium-tutorial-28/
In our last Selenium tutorial we learned how to troubleshoot some recurrent problems in selenium scripts. We discussed some advance concepts wherein we would deal with mouse and keyboard events, a ...
http://www.softwaretestinghelp.com/efficient-selenium-scripting-selenium-tutorial-27/
In the previous tutorial, we discussed the technical implications while implementing logging in a framework. We discussed log4j utilityat length. We discussed the basic components those constitute log4j from a ...
http://tutorials.jenkov.com/java-util-concurrent/index.html
1
java.util.concurrent - Java Concurrency Utilities
2
BlockingQueue
3
ArrayBlockingQueue
http://blog.csdn.net/dm_vincent/article/details/40503685
利用Stream类型的“懒”操作
代码中的很多操作都是Eager的,比如在发生方法调用的时候,参数会立即被求值。总体而言,使用Eager方式让编码本身更加简单,然而使用Lazy的方式通常而言,即意味着更好的效率。
本篇文章就是为了展示Java 8中新特性是如何让我们能够更方便的写出Lazy方式代码。
延迟初始化
http://zh.lucida.me/blog/java-8-lambdas-insideout-library-features/
English version
http://www.drdobbs.com/jvm/lambdas-and-streams-in-java-8-libraries/240166818?pgno=1
于
深入理解Java 8 Lambda(语言篇——lambda,方法引用,目标类型和默认方法)
深入理解Ja ...
http://zh.lucida.me/blog/java-8-lambdas-insideout-language-features/
关于
深入理解Java 8 Lambda(语言篇——lambda,方法引用,目标类型和默认方法)
深入理解Java 8 Lambda(类库篇——Streams API,Collector和并行)
深入理解Java 8 Lambda(原理篇——Java编译器如何处理lambda)
本文是深入理解Java 8 Lambda系列的第一篇,主要介绍Java 8新增的语言特性(比如lambda和方法引用),语言概念(比如目标类型和变量捕获)以及设计 ...
Java 8 Stream探秘 具体实现
- 博客分类:
- Java
http://colobu.com/2014/11/18/Java-8-Stream/
在现代的Java应用程序中很少不用到集合类和数组。 可以对集合进行增,删,改,插, 统计(聚合aggregate)。 这些操作的概念在SQL操作上也会用到。 但是对集合的操作却没有像SQL那样方便简捷。 为什么我们不能实现一种类似SQL语句一样方便的编程方式呢, 去取代一遍又一遍loop遍历的方式处理集合和数组中的数据?另外,对于大数据量的集合, 能不能充分利用多核的优势, 并行的处理?Stream是就是这种处理数据的风格, 一种流式风格。 这种风格在其它语言中也有实现, 比如Javascript (No ...
Arrays.asList() 的了解
- 博客分类:
- Java
为什么Arrays.asList() 返回的list是 immutable的?
原因是:返回的list本质上是Arrays类的一个内部类,这个类没有change structure的方法(add remove等方法全都改写成直接抛出unsupported operation异常),所以他是immutable的。
源代码分析:
将一个数组转化为一个List对象,一般会想到Arrays.asList()方法,这个方法会返回一个ArrayList类型的对象。但是用这个对象对列表进行添加删除更新操作,就会报UnsupportedOperationException异常。
...
http://www.softwaretestinghelp.com/log4j-tutorial-selenium-tutorial-26/
Now we are moving towards the end of our most comprehensive Free Tutorials for Selenium Testing tool. The tutorials we are posting now are the part of advance Selenium training.
In the previous tutorial, we kept our focus ...
http://www.softwaretestinghelp.com/apache-ant-selenium-tutorial-23/
In the last tutorial, we tried to make you acquainted with the concept of generics and common methods. We also discussed the benefits we get out of generics like reusability. We also shared the practical approaches towards crea ...
http://www.softwaretestinghelp.com/hudson-continuous-integration-tool-selenium-tutorial-25/
In the last two tutorials, we discussed about the two most important build tools – ANT and Maven. We discussed about their significance and practical importance.
In the current Selenium online training ...