摘要:
(文章翻译自[java-design-pattern-iterator](http://www.programcreek.com/2013/02/java-design-pattern-iterator/))迭代器模式用于迭代遍历一个集合对象。它是一个经常被用到的模式,你可能以前使用过它。不管在任何... 阅读全文
摘要:
(文章翻译自[Java Design Pattern: Interpreter](http://www.programcreek.com/2013/02/java-design-pattern-interprete/))解释器模式适用于当一些内容需要翻译的时候。下面的例子是一个非常简单的解释器实现。... 阅读全文
摘要:
(文章翻译自[Inheritance vs. Composition in Java](http://www.programcreek.com/2014/05/inheritance-vs-composition-in-java/))这篇文章阐述了Java中继承和组合的概念。它首先给出了一个继承的例... 阅读全文
摘要:
(本篇文章翻译自[JVM Run-Time Data Areas](http://www.programcreek.com/2013/04/jvm-run-time-data-areas/))这是我阅读JVM规范的笔记,而且我画了一个图来帮助我理解。![JVM-runtime-data-area](... 阅读全文
摘要:
(文章翻译自[What does a Java array look like in memory?](http://www.programcreek.com/2013/04/what-does-a-java-array-look-like-in-memory/))Java中的数组存储了两个中的一个... 阅读全文
摘要:
(文章翻译自[What do Java objects look like in memory during run-time?](http://www.programcreek.com/2011/11/what-do-java-objects-look-like-in-memory/))我们知道函... 阅读全文
摘要:
(本文章翻译自[the-introduction-of-memory-leak-what-why-and-how](http://www.programcreek.com/2013/10/the-introduction-of-memory-leak-what-why-and-how/))Java最... 阅读全文