- 博客(133)
- 收藏
- 关注
转载 Java - String vs StringBuffer vs StringBuilder
http://javarevisited.blogspot.de/2011/07/string-vs-stringbuffer-vs-stringbuilder.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content her
2015-10-29 18:03:59
472
转载 Java - Difference between ConcurrentHashMap, Hashtable and Synchronized Map
http://javarevisited.blogspot.de/2011/04/difference-between-concurrenthashmap.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.
2015-10-09 16:58:44
473
转载 Java - Difference between HashMap and HashSet in Java
http://javarevisited.blogspot.de/2011/09/difference-hashmap-vs-hashset-java.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.
2015-10-09 16:56:56
555
转载 Java - How HashMap works in Java
http://javarevisited.blogspot.de/2011/02/how-hashmap-works-in-java.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.Hash
2015-10-09 16:52:43
416
转载 Java - Difference between LinkedList and ArrayList
http://javarevisited.blogspot.sg/2012/02/difference-between-linkedlist-vs.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.
2015-10-08 15:56:12
447
转载 Java - Difference between ArrayList and Vector in Java
http://javarevisited.blogspot.de/2011/09/difference-vector-vs-arraylist-in-java.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here
2015-10-08 15:52:56
343
转载 Java - Difference between Wait and Sleep , Yield in Java
http://javarevisited.blogspot.de/2011/12/difference-between-wait-sleep-yield.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.
2015-10-08 15:49:32
421
转载 Java - What is difference between HashMap and Hashtable?
http://javarevisited.blogspot.de/2010/10/difference-between-hashmap-and.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.B
2015-09-24 13:14:07
600
转载 Java - What is difference between Enumeration and Iterator?
Both Iterator and Enumeration provides way to traverse or navigate through entire collection in Java.E
2015-09-24 11:00:59
351
转载 Java - Difference between Abstract class and Interface
http://javarevisited.blogspot.de/2013/05/difference-between-abstract-class-vs-interface-java-when-prefer-over-design-oops.htmlBecause sometimes I can't open this page without proper proxy configur
2015-09-23 17:46:22
466
转载 Java - How Garbage Collection works in Java
http://javarevisited.blogspot.de/2011/04/garbage-collection-in-java.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content here.Gar
2015-08-13 14:55:17
464
转载 Java - Difference between Stack and Heap memory in Java
http://javarevisited.blogspot.com.au/2013/01/difference-between-stack-and-heap-java.htmlBecause sometimes I can't open this page without proper proxy configuration, so I have to copy some content
2015-08-13 14:48:39
390
转载 Java - Java Heap Space or Java Heap Memory
http://javarevisited.blogspot.sg/2011/05/java-heap-space-memory-size-jvm.htmlhttp://javarevisited.blogspot.sg/2012/01/find-max-free-total-memory-in-java.htmlhttp://javarevisited.blogspot.de/20
2015-07-20 10:44:02
1596
转载 Java - Static keyword in Java
http://javarevisited.blogspot.de/2011/11/static-keyword-method-variable-java.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.10
2015-07-10 11:28:16
492
转载 Java - Difference between throw and throws in Exception handling
http://javarevisited.blogspot.de/2012/02/difference-between-throw-and-throws-in.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.
2015-07-10 10:57:22
460
转载 Java - Checked vs Unchecked Exception
http://javarevisited.blogspot.de/2011/12/checked-vs-unchecked-exception-in-java.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.
2015-07-09 16:41:45
649
转载 Java - Method Overloading vs Method Overriding
http://javarevisited.blogspot.de/2011/12/method-overloading-vs-method-overriding.htmlhttp://javarevisited.blogspot.sg/2014/03/covariant-method-overriding-of-java-5.htmlSometimes I can't open thi
2015-07-09 16:34:28
563
转载 Java - How Classpath works in Java
http://javarevisited.blogspot.de/2011/01/how-classpath-work-in-java.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.What is CLAS
2015-07-07 09:43:36
477
转载 Java - What is Abstraction in Java
http://javarevisited.blogspot.de/2010/10/abstraction-in-java.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.Abstraction in Java
2015-07-03 17:53:42
602
转载 Java - What is Static and Dynamic binding
http://javarevisited.blogspot.sg/2012/03/what-is-static-and-dynamic-binding-in.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.I
2015-07-03 17:27:03
1026
转载 Java - What is final in Java?
http://javarevisited.blogspot.sg/2011/12/final-variable-method-class-java.htmlSometimes I can't open this page without proper proxy configuration, so I have to copy the content here.What is
2015-07-03 16:28:47
339
转载 Java - How Class is loaded and initialized
http://javarevisited.blogspot.de/2012/12/how-classloader-works-in-java.htmlhttp://javarevisited.blogspot.sg/2012/07/when-class-loading-initialization-java-example.htmlSometimes I can't open this
2015-07-01 11:26:19
707
转载 Java - Why String is Immutable or Final in Java
http://javarevisited.blogspot.de/2010/10/why-string-is-immutable-in-java.htmlSometimes I can't open this page without proper proxy, so I have to copy the content here.1)String is Immutable i
2015-07-01 11:17:32
529
转载 Java - Why multiple inheritances are not supported in Java
http://javarevisited.blogspot.de/2011/07/why-multiple-inheritances-are-not.htmlI can't open this page without proper proxy, so I have to copy the content here.1) First reason is ambiguity
2015-07-01 11:15:33
256
转载 Java - Why wait, notify and notifyAll is defined in Object Class and not on Thread class
Java中的锁是定义在对象(object)上的, wait, notify是与锁相关的操作,因此方法应该定义在对象类里。在Java中, 为了进入critical section of code ,线程只需要获取锁和等待锁, 它们不需要知道哪个线程在hold锁, 只需要知道锁正在被hold, 它们只需要等待锁释放,而不需要ask hold锁的线程来释放锁。
2015-06-29 17:52:01
378
转载 Java - Why wait notify and notifyAll called from synchronized block or method in Java
http://javarevisited.blogspot.de/2011/05/wait-notify-and-notifyall-in-java.html简单来说是为了解决潜在的边界条件 (race condition) 问题。用分步的生产者消费者流程举例来说:1. The Producer thread tests the condition (buffer is f
2015-06-29 17:11:34
258
转载 Java - How to write Thread-Safe Code in Java
The content comes from here. Becasue I can't open this page without proper proxy, so I copy the content here.多线程时的concurrency issues 主要有: race condition , deadlock 等。Here is some points
2015-06-25 16:44:07
331
转载 Java - String vs StringBuffer vs StringBuilder in Java
The content comes from hereBecause sometimes I can't open the blog page without proper proxy, so I have to copy the content here.String is one of the most important classes in Java and any
2015-06-17 18:48:47
476
转载 Java - Why Enum Singleton are better in Java
http://javarevisited.blogspot.de/2012/07/why-enum-singleton-are-better-in-java.htmlBecause I can't open this page without proper proxy, so I copy the content here.Enum Singletons are new way
2015-06-16 16:14:55
484
转载 Java - Race condition in Java multithreading
http://javarevisited.blogspot.de/2012/02/what-is-race-condition-in.htmlBecause sometimes I can't open this page, so I copy the content here.Race condition in Java is a type of concurrency
2015-06-16 14:24:34
558
转载 Spring framework
Spring framework一句话总结:Core support for dependency injection, transaction management, web applications, data access, messaging, testing and more.常用术语:IoC: Inversion of Control。 IoC is
2015-05-21 18:15:07
316
转载 Eclipse - 在 Eclipse 中直接打开CMD控制台的插件
插件名:EasyShellEasyShellEasyShell安装:Eclipse -> Help -> Eclipse Marketplace, 搜索EasyShell, 安装即可。使用:在任一级工程目录上, 右键点击, 出现 Easy Shell 菜单, 点击子菜单 Open 即可。
2015-05-21 10:52:46
1340
转载 Eclipse - 在Eclipse中使用Maven
http://jingyan.baidu.com/article/295430f136e8e00c7e0050b9.html最后设置部分,除了要设置installations,还要设置 User Settings.
2015-05-21 10:44:22
278
转载 JUnit - 怎么测试异常
代码public Example(String example) { if (example == null) { throw new NullPointerException(); } }JUnit 测试代码@Test(expected = NullPointerException.class)public void construct
2015-05-21 10:37:19
551
转载 Java - org.json 报错 Unsupported major.minor version 52.0
原因:org.json 和 java 版本不兼容解决:用 jre1.7 时,使用 http://mvnrepository.com/artifact/org.json/json/20140107 这个json。
2015-05-21 10:32:46
2243
转载 Eclipse - UT - Eclipse 中单元测试覆盖率统计工具
工具名称:EclEmma安装:在Eclipse -> Help -> Eclipse Marketplace, Find EclEmma, 然后install即可。使用:菜单栏图标
2015-05-21 10:24:55
1773
转载 在dos控制台下运行Java程序
1. 进入代码所在目录,运行命令编译程序,生成HelloWorld.class文件javac HelloWorld.java2. 运行如下命令java HelloWorld注意:没有任何后缀
2015-05-12 11:05:35
510
转载 把Java程序打成Jar包
使用Eclipse来打包在控制台打包javac helloworld.javajar cvfm helloworld.jar MANIFEST.MF helloworld.classjava -jar helloworld.jar
2015-05-12 11:00:15
347
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人