`

Java_Top 8 Diagrams for Understanding Java

    博客分类:
  • Java
 
阅读更多

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

 

1. String Immutability

The following diagram shows what happens for the following code:

String s = "abcd";

s = s.concat("ef");

 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.

 3. Java Exception Class Hierarchy

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

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.

 7. Stack and Heap

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

 8. JVM Run-Time Data Areas

This diagram shows overall JVM run-time data areas.


  • 大小: 25 KB
  • 大小: 22.4 KB
  • 大小: 126.3 KB
  • 大小: 27.5 KB
  • 大小: 46 KB
  • 大小: 11.7 KB
  • 大小: 3.7 KB
  • 大小: 13.8 KB
  • 大小: 25.9 KB
分享到:
评论

相关推荐

    VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2.pptx

    VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2,VMware_icons ,VMware_icons 图标资源

    4_Bloc_diagrams_control_loops.pptx

    本文档“4_Bloc_diagrams_control_loops.pptx”概述了控制系统的结构,并着重介绍了几种典型的控制系统结构:开环系统与闭环系统。 首先,介绍的是控制系统的基本组成部分之一:方块图(Bloc diagrams)。方块图是...

    VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2

    1. **标题**:“VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of_2” 2. **描述**:此文档是关于VMware图标与图表库的一个版本。 3. **标签**:“WMware Visio图标” 4. **部分内容**:文档介绍了VMware...

    CityGML_1_0_0_UML_diagrams.pdf

    ### CityGML 1.0.0 UML Diagrams概览与知识点解析 #### 基础介绍 CityGML(City and Terrain Modeling Language)是一种开放标准的数据模型,旨在为三维城市模型提供一种统一的表现形式。它由Open Geospatial ...

    VMware图标库(.pptx版)

    这个压缩包包含了三个部分:VMW_PPT_LIBRARY_Icons-Diagrams_2Q12_1_of_3.pptx、VMW_PPT_LIBRARY_Icons-Diagrams_2Q12_2_of_3.pptx和VMW_PPT_LIBRARY_Icons-Diagrams_2Q12_3_of_3.pptx。这三部分分别对应于图标的...

    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 ...

    TS 16949_Turtle Diagrams for 26 processes

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

    Java_一组用于开发工具的图表.zip

    "devops-diagrams_main.zip"作为压缩包内的一个子文件,很可能包含了DevOps相关的图表,DevOps是一种强调开发和运维协同工作的理念。这些图表可能包括持续集成/持续部署(CI/CD)流水线图、基础设施即代码(IAC)图、...

    Syntax Diagrams For SQLite

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

    UML for Java Programmers 中文版

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

    program3.rar_MATLAB画cie1931_cie diagrams_matlab chromaticity _ma

    用matlab画出1931CIE标准色度图

    PPT-Library-VMware-icons-diagrams-Q409-COMM.pdf

    PPT_Library_VMware_icons-diagrams_Q409_COMM.pdf

    VMW-10Q3-PPT-Library-VMware-icons-diagrams-R7-COMM-2-of2.pdf

    VMW_10Q3_PPT_Library_VMware_icons_diagrams_R7_COMM_2_of_2.pdf

    messy_diagrams

    messy_diagrams

    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 ...

    VMW-10Q3-PPT-Library-VMware-icons-diagrams-R7-COMM-1of2.pdf

    VMW_10Q3_PPT_Library_VMware_icons-diagrams_R7_COMM_1_of 2.pdf

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

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

    UML FOR JAVA

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

    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,全称为...

Global site tag (gtag.js) - Google Analytics