`
elite20130514
  • 浏览: 48185 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Top 8 Diagrams for Understanding Java(quote)

阅读更多

Top 8 Diagrams for Understanding Java

A diagram is sometimes worth 1000 words. The following diagrams are from Java tutorials on Program Creek, they have received the most votes so far. Hopefully, they can help you review what you already know. If the problem is not clear by the diagram itself, you may want to go to each article to take a further took.

 

1. String Immutability

The following diagram shows what happens for the following code:

String s = "abcd";
s = s.concat("ef");

string-immutability

2. The equals() and hashCode() Contract

HashCode is designed to improve performance. The contract between equals() and hasCode() is that:
1. If two objects are equal, then they must have the same hash code.
2. If two objects have the same hashcode, they may or may not be equal.

java-hashcode

3. Java Exception Class Hierarchy

Red colored are checked exceptions which must either be caught or declared in the method’s throws clause.

Exception-Hierarchy-Diagram

<iframe id="aswift_0" style="position: absolute; margin: 0px; top: 0px; left: 0px; padding: 0px;" name="aswift_0" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="728" height="90"></iframe>

4. Collections Class Hierarchy

Note the difference between Collections and Collection.


5. Java synchronization

Java synchronization mechanism can be illustrated by an analogy to a building.

6. Aliasing

Aliasing means there are multiple aliases to a location that can be updated, and these aliases have different types.

Java Aliasing

7. Stack and Heap

This diagram shows where methods and objects are in run-time memory.

Java-array-in-memory

8. JVM Run-Time Data Areas

<iframe id="aswift_1" style="position: absolute; margin: 0px; top: 0px; left: 0px; padding: 0px;" name="aswift_1" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="336" height="280"></iframe>

This diagram shows overall JVM run-time data areas.

JVM runtime data area

 original quote:http://www.programcreek.com/2013/09/top-8-diagrams-for-understanding-java/

 chinese version:http://www.iteye.com/news/28319

分享到:
评论

相关推荐

    Syntax Diagrams For SQLite

    Syntax Diagrams For SQLite参考手册,图形生动,有效的帮助理解SQLite!

    UML for Java Programmers 中文版

    **UML for Java Programmers 中文版** UML(统一建模语言)是软件工程领域中的一种标准化建模工具,专为系统分析和设计而设计。对于Java程序员来说,掌握UML至关重要,因为它能帮助他们清晰地表达和理解程序结构、...

    Diagrams 2.1.1 for Mac 好用的流程图绘制工具

    Diagrams 是一款Mac上好用的流程图绘制工具,软件简单易用,可以快速的绘制出各种专业美观的流程图,支持中文界面,导出到图像或PDF格式,可用于可视化流程流程图软件架构设计、简化的UML图、用户界面流程、组织图表...

    IEC 60617-2020国际标准Graphical symbols for diagrams

    《IEC 60617-2020国际标准Graphical symbols for diagrams》是国际电工委员会(IEC)制定的一项重要标准,主要关注图形符号在图表中的应用。这个标准详细规定了用于电气和电子工程领域图表绘制的一系列标准化图形...

    UML FOR JAVA

    《UML for Java》这本书由Robert Cecil Martin撰写,是针对Java程序员学习统一建模语言(Unified Modeling Language,简称UML)的一本指南。UML是一种用于软件工程的标准建模语言,它提供了一套图形化的符号系统,...

    Failure assessment diagrams for use in R6 assessments for austenitic components

    本文探讨了R6评估程序中针对奥氏体组件失效评估图的使用方法,重点回顾了R6程序的发展背景,并分析了在R6第三版修订中引入的多种评估失效曲线的方法。文章主要介绍了三个选项:选项1、选项2和选项3,它们分别代表了...

    uml for java programmers中英文

    8. **组件图(Component Diagrams)**:在Java应用中,组件图可以用来表示代码模块、JAR文件或类库,以及它们之间的依赖关系。 9. **部署图(Deployment Diagrams)**:当涉及Java应用程序的硬件和软件环境时,部署...

    UML for Java Programmers中文版

    《UML for Java Programmers中文版》是一本专为Java程序员设计的UML(统一建模语言)学习指南。本书详细介绍了如何运用UML来设计和理解Java程序,旨在帮助开发者提升软件设计能力和团队沟通效率。 UML,全称为...

    Using UML Activity Diagrams for the Process View

    ### 使用UML活动图表示流程视图的关键知识点 #### 一、引言 在软件开发过程中,有效地描述和建模系统行为是至关重要的。本文档由资深软件架构师Ben Lieberman撰写,旨在介绍如何利用统一建模语言(Unified ...

    最好用的Diagrams替代插件

    标题中的“最好用的Diagrams替代插件”指的是在软件开发领域中,寻找一个能够有效替代Diagrams工具的高效插件。Diagrams通常用于创建各种图表,如UML(统一建模语言)类图,帮助开发者可视化代码结构和设计。在描述...

    Prentice Hall - UML for Java Programmers

    《Prentice Hall - UML for Java Programmers》是一本专为Java程序员设计的UML(统一建模语言)学习指南。这本书详细介绍了如何利用UML进行软件设计和开发,特别是针对Java编程环境。UML是一种标准的建模语言,用于...

    TS 16949_Turtle Diagrams for 26 processes

    在TS 16949中,乌龟图(Turtle Diagrams)是一种重要的工具,用于系统性地分析和理解过程的各个方面。 【描述】"TS 16949的乌龟图涵盖了26个不同的过程,且这些图是可编辑的。" 乌龟图,又称过程失效模式及效应...

    Bayesian Networks and Influence Diagrams

    "Bayesian Networks and Influence Diagrams: A Guide to Construction and Analysis" provides a comprehensive guide for practitioners who wish to understand, construct, and analyze intelligent systems ...

    UML for Java Programmers 中文共享版

    第二章“使用图(Diagrams)”讨论了为什么需要使用模型和建模,以及为什么在编码前需要构造一个全面的设计。UML不仅是一种沟通工具,也是帮助程序员在设计阶段发现潜在问题的有效手段。本章还介绍了迭代精化的方法,...

    Deep Learning: Practical Neural Networks with Java 完整高清英文azw3版

    This course is intended for data scientists and Java developers who want to dive into the exciting world of deep learning. It will get you up and running quickly and provide you with the skills you ...

    AVEVA PDMS Diagrams-P&ID-Designer-(GZ-1)-12.0.SP6.pdf

    Aveva PDMS Diagrams-P&ID-Designer-(GZ-1)-12.0.SP6 AVEVA PDMS Diagrams是PDMS12.0中新增的模块,用于绘制P&ID图纸,并与三维模型联动。该模块基于PDMS数据库,使用Visio的设计界面,实现P&ID图纸与P&ID数据库...

    Architecture Diagrams - VMware Validated Design for SDDC 5.1

    Architecture Diagrams - VMware Validated Design for SDDC 5.1.x.vsdx

    FORC diagrams of Magnetic perpendicular recording media

    本文主要研究了垂直磁记录介质的磁性和一级反转磁化曲线(FORC),特别是针对Co/Pd多层结构和FePt薄膜,这些材料以玻璃作为基底。研究的重点在于通过FORC技术分析记录介质层中不同磁性颗粒之间的交换耦合作用。研究...

    Java 9 with JShell

    Real-World Objects to UML Diagrams and Java 9 via JShell Classes and Instances Encapsulation of Data Mutable and Immutable Classes Inheritance, Abstraction, Extension, and Specialization Members ...

    core_java_career_essentials.pdf

    This is a Questions & Answers book with 250+ questions and answers relating to core Java with lots of code snippets (100+), examples, and diagrams. Most Java interviews and technical challenges you ...

Global site tag (gtag.js) - Google Analytics