{{sellerTotalView > 1 ? __("sellers", {number: sellerTotalView}) : __("seller", {number: sellerTotalView}) }}, {{numTotalView > 1 ? __("items", {number: numTotalView}) : __("item", {number: numTotalView}) }}
free FREE

Change Your Zip Code

Inventory information and delivery speeds may vary for different locations.

Location History

{{email ? __('Got it!') : __('Restock Alert')}}

We will notify you by email when the item back in stock.

Cancel
Yami

Jingdong book

Java核心技术 卷I 基础知识 第10版 英文版 上下册

{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}

Java核心技术 卷I 基础知识 第10版 英文版 上下册

{{__(":people-members", {'people': item.limit_people_count})}} {{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ item.invalid_price }} {{ itemDiscount }}
Ends in
{{ itemCurrency }}{{ item.valid_price }}
{{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }}
{{ itemDiscount }}
{{ itemCurrency }}{{ item.valid_price }} {{ itemCurrency }}{{ priceFormat(item.valid_price / item.bundle_specification) }}/{{ item.unit }} {{ itemCurrency }}{{ item.invalid_price }} {{itemDiscount}}
{{ itemCurrency }}{{ item.valid_price }}
Sale ends in
Sale will starts after Sale ends in
{{ getSeckillDesc(item.seckill_data) }}
{{ __( "Pay with Gift Card to get sale price: :itemCurrency:price", { 'itemCurrency' : itemCurrency, 'price' : (item.giftcard_price ? priceFormat(item.giftcard_price) : '0.00') } ) }} ({{ itemCurrency }}{{ priceFormat(item.giftcard_price / item.bundle_specification) }}/{{ item.unit }}) Details
Best before

Currently unavailable.

We don't know when or if this item will be back in stock.

Unavailable in your area.
Sold Out

Details

Full product details
Editer Recommend

1.Java经典图书新版,第8版曾获得第13届Jolt生产效率大奖。
2.Java平台的杰出指南,新版做了全面更新。
3.本书专为做实际项目的程序员编写,是一本真实可信、不偏不倚且简单直接的Java教程,书中使用了全面测试过的代码示例来阐述关键的Java语言与库的特性,体现了编程实践。
4.本书两位作者均是业内杰出人物,有丰富的写作和实战经验。
Content Description

本书是经典的《Java核心技术 卷I:基础知识》的新版。这一版针对Java SE 8平台进行了全面更新,以反映Java SE 8的特性。
书中囊括了Java的全部基础知识,提供了大量完整且具有实际意义的应用示例,详细介绍了Java语言基础、面向对象编程、反射与代理、接口与内部类、事件监听器模型、使用Swing GUI工具进行图形用户界面程序设计、打包应用程序、异常处理、登录与调试、泛型编程、集合框架、多线程、并发等内容。
Author Description

Cay S. Horstmann 是Scala for the Impatient的作者,还与人合著了Core JavaServer Faces。他是圣何塞州立大学计算机科学专业的教授,还是一名Java Champion,并经常在很多开发者大会上演讲。
Catalogue

目录

Chapter 1: An Introduction to Java / Java概述 1
1.1Java as a Programming Platform / Java程序设计平台 1
1.2The Java“White Paper”Buzzwords / Java“白皮书”中的口号 2
1.2.1Simple / 简单 3
1.2.2Object-Oriented / 面向对象 4
1.2.3Distributed / 分布式 4
1.2.4Robust / 健壮 4
1.2.5Secure / 安全 4
1.2.6Architecture-Neutral / 体系结构中立 5
1.2.7Portable / 可移植 6
1.2.8Interpreted / 解释型 7
1.2.9High-Performance / 高性能 7
1.2.10Multithreaded / 多线程 7
1.2.11Dynamic / 动态 8
1.3Java Applets and the Internet / Java Applet与Internet 8
1.4A Short History of Java / Java简史 10
1.5Common Misconceptions about Java / 对Java的常见误解 13
Chapter 2: The Java Programming Environment / Java编程环境 17
2.1Installing the Java Development Kit / 安装Java开发包(JDK) 18
2.1.1Downloading the JDK / 下载JDK 18
2.1.2Setting up the JDK / 设置JDK 20
2.1.3Installing Source Files and Documentation /源文件与文档的下载与设置 22
2.2Using the Command-Line Tools / 使用命令行工具 23
2.3Using an Integrated Development Environment / 使用集成开发环境 26
2.4Running a Graphical Application / 运行图形化应用程序 30
2.5Building and Running Applets / 构建并运行Applet 33
Chapter 3: Fundamental Programming Structures in Java / Java的基本编程结构 41
3.1A Simple Java Program / 一个简单的Java程序 42
3.2Comments / 注释 46
3.3Data Types / 数据类型 47
3.3.1Integer Types / 整型 47
3.3.2Floating-Point Types / 浮点型 48
3.3.3The char Type / char类型 50
3.3.4Unicode and the char Type / Unicode与char类型 51
3.3.5The boolean Type / boolean类型 52
3.4Variables / 变量 53
3.4.1Initializing Variables / 初始化变量 54
3.4.2Constants / 常量 55
3.5Operators / 运算符 56
3.5.1Mathematical Functions and Constants / 数学函数与常量 57
3.5.2Conversions between Numeric Types / 数值类型之间的转换 59
3.5.3Casts / 强制类型转换 60
3.5.4Combining Assignment with Operators / 组合赋值运算符 61
3.5.5Increment and Decrement Operators / 自增运算符与自减运算符 61
3.5.6Relational and Boolean Operators / 关系与boolean运算符 62
3.5.7Bitwise Operators / 位运算符 63
3.5.8Parentheses and Operator Hierarchy / 括号与运算符优先级 64
3.5.9Enumerated Types / 枚举类型 65
3.6Strings / 字符串 65
3.6.1Substrings / 子串 66
3.6.2Concatenation / 拼接 66
3.6.3Strings Are Immutable / String是不可变的 67
3.6.4Testing Strings for Equality / 测试字符串是否相等 68
3.6.5Empty and Null Strings / 空串与null串 69
3.6.6Code Points and Code Units / 码位与编码单元 70
3.6.7The String API / String 类的API 71
3.6.8Reading the Online API Documentation / 阅读在线API文档 74
3.6.9Building Strings / 构建字符串 77
3.7Input and Output / 输入输出 78
3.7.1Reading Input / 读取输入 79
3.7.2Formatting Output / 格式化输出 82
3.7.3File Input and Output / 文件输入输出 87
3.8Control Flow / 控制流 89
3.8.1Block Scope / 块作用域 89
3.8.2Conditional Statements / 条件语句 90
3.8.3Loops / 循环 94
3.8.4Determinate Loops / 确定性循环 99
3.8.5Multiple Selections—The switch Statement / 多重选择:switch语句 103
3.8.6Statements That Break Control Flow / 用于跳出控制流的语句 106
3.9Big Numbers / 大数 108
3.10 Arrays / 数组 111
3.10.1The “for each” Loop / “for each”循环 113
3.10.2Array Initializers and Anonymous Arrays / 数组初始化与匿名数组 114
3.10.3Array Copying / 数组复制 114
3.10.4Command-Line Parameters / 命令行参数 116
3.10.5Array Sorting / 数组排序 117
3.10.6Multidimensional Arrays / 多维数组 120
3.10.7Ragged Arrays / 不规则数组 124
Chapter 4: Objects and Classes /对象与类 129
4.1Introduction to Object-Oriented Programming / 面向对象编程简介 130
4.1.1Classes / 类 131
4.1.2Objects / 对象 132
4.1.3Identifying Classes / 识别类 133
4.1.4Relationships between Classes / 类之间的关系 133
4.2Using Predefined Classes / 使用预定义类 135
4.2.1Objects and Object Variables / 对象与对象变量 136
4.2.2The LocalDate Class of the Java Library / Java 库中的LocalDate类 139
4.2.3Mutator and Accessor Methods / 更改器方法与访问器方法 141
4.3Defining Your Own Classes / 定义自己的类 145
4.3.1An Employee Class / Employee类 145
4.3.2Use of Multiple Source Files / 使用多个源文件 149
4.3.3Dissecting the Employee Class / 分析Employee类 149
4.3.4First Steps with Constructors / 从构造器开始 150
4.3.5Implicit and Explicit Parameters / 隐式参数与显式参数 152
4.3.6Benefits of Encapsulation / 封装的好处 153
4.3.7Class-Based Access Privileges / 基于类的访问权限 156
4.3.8Private Methods / 私有方法 156
4.3.9Final Instance Fields / final实例字段 157
4.4Static Fields and Methods / 静态字段与静态方法 158
4.4.1Static Fields / 静态字段 158
4.4.2Static Constants / 静态常量 159
4.4.3Static Methods / 静态方法 160
4.4.4Factory Methods / 工厂方法 161
4.4.5The main Method / main方法 161
4.5Method Parameters / 方法参数 164
4.6Object Construction / 对象构建 171
4.6.1Overloading / 重载 172
4.6.2Default Field Initialization / 默认字段初始化 172
4.6.3The Constructor with No Arguments / 无参构造器 173
4.6.4Explicit Field Initialization / 显式字段初始化 174
4.6.5Parameter Names / 参数名 175
4.6.6Calling Another Constructor / 调用另一个构造器 176
4.6.7Initialization Blocks / 初始化块 177
4.6.8Object Destruction and the finalize Method / 对象析构与finalize方法 181
4.7Packages / 包 182
4.7.1Class Importation / 导入类 183
4.7.2Static Imports / 静态导入 185
4.7.3Addition of a Class into a Package / 将类添加到某个包中 185
4.7.4Package Scope / 包作用域 189
4.8The Class Path / 类路径 190
4.8.1Setting the Class Path / 设置类路径 193
4.9Documentation Comments / 文档注释 194
4.9.1Comment Insertion / 插入注释 194
4.9.2Class Comments / 类注释 195
4.9.3Method Comments / 方法注释 195
4.9.4Field Comments / 字段注释 196
4.9.5General Comments / 通用注释 196
4.9.6Package and Overview Comments / 包与概述注释 198
4.9.7Comment Extraction / 提取注释 198
4.10 Class Design Hints / 类设计建议 200
Chapter 5: Inheritance / 继承 203
5.1Classes, Superclasses, and Subclasses / 类、超类与子类 204
5.1.1Defining Subclasses / 定义子类 204
5.1.2Overriding Methods / 覆盖方法 206
5.1.3Subclass Constructors / 子类构造器 207
5.1.4Inheritance Hierarchies / 继承层次 212
5.1.5Polymorphism / 多态 213
5.1.6Understanding Method Calls / 理解方法调用 214
5.1.7Preventing Inheritance: Final Classes and Methods / 阻止继承:final修饰的类和方法 217
5.1.8Casting / 强制类型转换 219
5.1.9Abstract Classes / 抽象类 221
5.1.10Protected Access / 受保护访问 227
5.2Object: The Cosmic Superclass / Object:所有类的超类 228
5.2.1The equals Method / equals方法 229
5.2.2Equality Testing and Inheritance / 相等测试与继承 231
5.2.3The hashCode Method / hashCode方法 235
5.2.4The toString Method / toString方法 238
5.3Generic Array Lists / 泛型数组列表 244
5.3.1Accessing Array List Elements / 访问泛型数组列表的元素 247
5.3.2Compatibility between Typed and Raw Array Lists / 泛型数组列表与原始数组列表的兼容性 251
5.4Object Wrappers and Autoboxing / 对象包装器与自动装箱 252
5.5Methods with a Variable Number of Parameters / 参数数量可变的方法 256
5.6Enumeration Classes / 枚举类 258
5.7Reflection / 反射 260
5.7.1The Class Class / Class类 261
5.7.2A Primer on Catching Exceptions / 捕获异常简介 263
5.7.3Using Reflection to Analyze the Capabilities of Classes / 使用反射分析类的能力 265
5.7.4Using Reflection to Analyze Objects at Runtime / 在运行时使用反射分析对象 271
5.7.5Using Reflection to Write Generic Array Code / 使用反射编写泛型数组代码 276
5.7.6Invoking Arbitrary Methods / 调用任意方法 279
5.8Design Hints for Inheritance / 继承的设计建议 283
Chapter 6: Interfaces, Lambda Expressions, and Inner Classes / 接口、Lambda表达式和内部类 287
6.1Interfaces / 接口 288
6.1.1The Interface Concept / 接口的概念 288
6.1.2Properties of Interfaces / 接口的特性 295
6.1.3Interfaces and Abstract Classes / 接口与抽象类 297
6.1.4Static Methods / 静态方法 298
6.1.5Default Methods / 默认方法 298
6.1.6Resolving Default Method Conflicts / 解决默认方法的冲突 300
6.2Examples of Interfaces / 接口示例 302
6.2.1Interfaces and Callbacks / 接口与回调 302
6.2.2The Comparator Interface / Comparator接口 305
6.2.3Object Cloning / 对象克隆 306
6.3Lambda Expressions / Lambda表达式 314
6.3.1Why Lambdas? / 为什么引入Lambda表达式 314
6.3.2The Syntax of Lambda Expressions / Lambda表达式的语法 315
6.3.3Functional Interfaces / 函数式接口 318
6.3.4Method References / 方法引用 319
6.3.5Constructor References / 构造器引用 321
6.3.6Variable Scope / 变量作用域 322
6.3.7Processing Lambda Expressions / 处理Lambda表达式 324
6.3.8More about Comparators / 再谈Comparator 328
6.4Inner Classes / 内部类 329
6.4.1Use of an Inner Class to Access Object State / 使用内部类访问对象状态 331
6.4.2Special Syntax Rules for Inner Classes /
内部类的特殊语法规则 334
6.4.3Are Inner Classes Useful? Actually Necessary? Secure? / 内部类是否有用、必要和安全 335
6.4.4Local Inner Classes / 局部内部类 339
6.4.5Accessing Variables from Outer Methods / 从外部方法访问变量 339
6.4.6Anonymous Inner Classes / 匿名内部类 342
6.4.7Static Inner Classes / 静态内部类 346
6.5Proxies / 代理 350
6.5.1When to Use Proxies / 何时使用代理 350
6.5.2Creating Proxy Objects / 创建代理对象 350
6.5.3Properties of Proxy Classes / 代理类的特性 355
Chapter 7: Exceptions, Assertions, and Logging /异常、断言与日志 357
7.1Dealing with Errors / 处理错误 358
7.1.1The Classification of Exceptions / 异常分类 359
7.1.2Declaring Checked Exceptions / 声明检查型异常 361
7.1.3How to Throw an Exception / 如何抛出异常 364
7.1.4Creating Exception Classes / 创建异常类 365
7.2Catching Exceptions / 捕获异常 367
7.2.1Catching an Exception / 捕获一个异常 367
7.2.2Catching Multiple Exceptions / 捕获多个异常 369
7.2.3Rethrowing and Chaining Exceptions / 再次抛出异常与异常链 370
7.2.4The finally Clause / finally子句 372
7.2.5The Try-with-Resources Statement / try-with-resources语句 376
7.2.6Analyzing Stack Trace Elements / 分析栈轨迹元素 377
7.3Tips for Using Exceptions / 异常使用技巧 381
7.4Using Assertions / 使用断言 384
7.4.1The Assertion Concept / 断言的概念 384
7.4.2Assertion Enabling and Disabling / 启用和禁用断言 385
7.4.3Using Assertions for Parameter Checking / 使用断言检查参数 386
7.4.4Using Assertions for Documenting Assumptions / 使用断言保证文档中假定成立的条件 387
7.5Logging / 日志 389
7.5.1Basic Logging / 基本日志 389
7.5.2Advanced Logging / 高级日志 390
7.5.3Changing the Log Manager Configuration / 修改日志管理器配置 392
7.5.4Localization / 本地化 393
7.5.5Handlers / 处理器 394
7.5.6Filters / 过滤器 398
7.5.7Formatters / 格式化器 399
7.5.8A Logging Recipe / 常见日志操作总结 399
7.6Debugging Tips / 调试技巧 409
Chapter 8: Generic Programming /泛型编程 415
8.1Why Generic Programming? / 为什么要使用泛型编程 416
8.1.1The Advantage of Type Parameters / 类型参数的好处 416
8.1.2Who Wants to Be a Generic Programmer? / 哪些人想成为泛型程序员 417
8.2Defining a Simple Generic Class / 定义简单的泛型类 418
8.3Generic Methods / 泛型方法 421
8.4Bounds for Type Variables / 类型变量的绑定 422
8.5Generic Code and the Virtual Machine / 泛型代码与虚拟机 425
8.5.1Type Erasure / 类型擦除 425
8.5.2Translating Generic Expressions / 翻译泛型表达式 426
8.5.3Translating Generic Methods / 翻译泛型方法 427
8.5.4Calling Legacy Code / 调用遗留代码 429
8.6Restrictions and Limitations / 约束与局限性 430
8.6.1Type Parameters Cannot Be Instantiated with Primitive Types / 类型参数不能用基本类型来实例化 430
8.6.2Runtime Type Inquiry Only Works with Raw Types / 运行时类型查询只适用于原始类型 431
8.6.3You Cannot Create Arrays of Parameterized Types / 不能创建参数化类型的数组 431
8.6.4Varargs Warnings / 注意变长参数情况 432
8.6.5You Cannot Instantiate Type Variables / 不能实例化类型变量 433
8.6.6You Cannot Construct a Generic Array / 不能构造泛型数组 434
8.6.7Type Variables Are Not Valid in Static Contexts of Generic Classes / 类型变量在泛型类的静态上下文中无效 436
8.6.8You Cannot Throw or Catch Instances of a Generic Class / 不能抛出或捕获泛型类的实例 436
8.6.9You Can Defeat Checked Exception Checking / 可以打破“检查型异常必须检查”的规则 437
8.6.10Beware of Clashes after Erasure / 注意类型擦除后的冲突 439
8.7Inheritance Rules for Generic Types / 泛型类型的继承规则 440
8.8Wildcard Types / 通配符类型 442
8.8.1The Wildcard Concept / 通配符的概念 442
8.8.2Supertype Bounds for Wildcards / 通配符的超类型限定 444
8.8.3Unbounded Wildcards / 无限定通配符 447
8.8.4Wildcard Capture / 通配符捕获 448
8.9Reflection and Generics / 反射与泛型 450
8.9.1The Generic Class Class / 泛型的Class类 450
8.9.2Using Class Parameters for Type Matching / 使用Class参数进行类型匹配 452
8.9.3Generic Type Information in the Virtual Machine / 虚拟机中的泛型类型信息 452
Chapter 9: Collections /集合类 459
9.1The Java Collections Framework / Java 集合类框架 460
9.1.1Separating Collection Interfaces and Implementation / 将集合类的接口与实现分离 460
9.1.2The Collection Interface / Collection接口 463
9.1.3Iterators / 迭代器 463
9.1.4Generic Utility Methods / 泛型的实用方法 466
9.1.5Interfaces in the Collections Framework / 集合类框架中的接口 469
9.2Concrete Collections / 具体的集合类 472
9.2.1Linked Lists / 链表 474
9.2.2Array Lists / 数组列表 484
9.2.3Hash Sets / 散列集 485
9.2.4Tree Sets / 树形集 489
9.2.5Queues and Deques / 队列与双端队列 494
9.2.6Priority Queues / 优先级队列 495
9.3Maps / 映射 497
9.3.1Basic Map Operations / 基本映射操作 497
9.3.2Updating Map Entries / 更新映射表项 500
9.3.3Map Views / 映射视图 502
9.3.4Weak Hash Maps / 弱散列映射 504
9.3.5Linked Hash Sets and Maps / LinkedHashSet与LinkedHashMap 504
9.3.6Enumeration Sets and Maps / EnumSet与EnumMap 506
9.3.7Identity Hash Maps / IdentityHashMap 507
9.4Views and Wrappers / 视图与包装器 509
9.4.1Lightweight Collection Wrappers / 轻量级集合包装器 509
9.4.2Subranges / 子范围 510
9.4.3Unmodifiable Views / 不可修改视图 511
9.4.4Synchronized Views / 同步视图 512
9.4.5Checked Views / 检查用视图 513
9.4.6A Note on Optional Operations / 可选操作说明 514
9.5Algorithms / 算法 517
9.5.1Sorting and Shuffiing / 排序与混排 518
9.5.2Binary Search / 二分查找 521
9.5.3Simple Algorithms / 简单算法 522
9.5.4Bulk Operations / 主要操作 524
9.5.5Converting between Collections and Arrays / 集合与数组之间的转换 525
9.5.6Writing Your Own Algorithms / 编写自己的算法 526
9.6Legacy Collections / 遗留的集合类 528
9.6.1The Hashtable Class / Hashtable类 528
9.6.2Enumerations / Enumeration 528
9.6.3Property Maps / 属性映射 530
9.6.4Stacks / 栈 531
9.6.5Bit Sets / 位集 532
Chapter 10: Graphics Programming /图形界面编程 537
10.1Introducing Swing / Swing简介 538
10.2Creating a Frame / 创建框架 543
10.3Positioning a Frame / 设定框架的显示位置 546
10.3.1Frame Properties / 框架属性 549
10.3.2Determining a Good Frame Size / 确定合适的框架大小 549
10.4Displaying Information in a Component / 在组件中显示信息 554
10.5Working with 2D Shapes / 处理2D图形 560
10.6Using Color / 使用颜色 569
10.7Using Special Fonts for Text / 使用特殊的文本字体 573
10.8Displaying Images / 显示图片 582
Chapter 11: Event Handling /事件处理 587
11.1Basics of Event Handling / 事件处理基础 587
11.1.1Example: Handling a Button Click / 示例:处理按钮点击事件 591
11.1.2Specifying Listeners Concisely / 设置监听器的简洁方法 595
11.1.3Example: Changing the Look-and-Feel / 示例:修改观感 598
11.1.4Adapter Classes / 适配器类 603
11.2Actions / 动作 607
11.3Mouse Events / 鼠标事件 616
11.4The AWT Event Hierarchy / AWT事件层次 624
11.4.1Semantic and Low-Level Events / 语义与底层事件 626
Chapter 12: User Interface Components with Swing / Swing用户界面组件 629
12.1Swing and the Model-View-Controller Design Pattern / Swing与模型-视图-控制器设计模式 630
12.1.1Design Patterns / 设计模式 630
12.1.2The Model-View-Controller Pattern / 模型-视图-控制器模式 632
12.1.3A Model-View-Controller Analysis of Swing Buttons / Swing按钮的模型-视图-控制器分析 636
12.2Introduction to Layout Management / 布局管理简介 638
12.2.1Border Layout / 边框布局 641
12.2.2Grid Layout / 网格布局 644
12.3Text Input / 文本输入 648
12.3.1Text Fields / 文本框 649
12.3.2Labels and Labeling Components / 标签与标签组件 651
12.3.3Password Fields / 密码框 652
12.3.4Text Areas / 文本区域 653
12.3.5Scroll Panes / 滚动窗格 654
12.4Choice Components / 选择组件 657
12.4.1Checkboxes / 复选框 657
12.4.2Radio Buttons / 单选按钮 660
12.4.3Borders / 边框 664
12.4.4Combo Boxes / 组合框 668
12.4.5Sliders / 滑动条 672
12.5Menus / 菜单 678
12.5.1Menu Building / 菜单构建 679
12.5.2Icons in Menu Items / 菜单项中的图标 682
12.5.3Checkbox and Radio Button Menu Items / 复选框和单选按钮菜单项 683
12.5.4Pop-Up Menus / 弹出菜单 684
12.5.5Keyboard Mnemonics and Accelerators / 键盘助记符与快捷键 686
12.5.6Enabling and Disabling Menu Items / 启用和禁用菜单项 689
12.5.7Toolbars / 工具栏 694
12.5.8Tooltips / 工具提示 696
12.6Sophisticated Layout Management / 复杂的布局管理 699
12.6.1The Grid Bag Layout / 网格布局管理 701
12.6.2Group Layout / 组布局 713
12.6.3Using No Layout Manager / 不使用布局管理器 723
12.6.4Custom Layout Managers / 定制布局管理器 724
12.6.5Traversal Order / 遍历顺序 729
12.7Dialog Boxes / 对话框 730
12.7.1Option Dialogs / 选项对话框 731
12.7.2Creating Dialogs / 创建对话框 741
12.7.3Data Exchange / 数据交换 746
12.7.4File Dialogs / 文件对话框 752
12.7.5Color Choosers / 颜色选择器 764
12.8Troubleshooting GUI Programs / GUI程序的问题定位 770
12.8.1Debugging Tips / 调试技巧 770
12.8.2Letting the AWT Robot Do the Work / 把工作交给AWT Robot 774
Chapter 13: Deploying Java Applications / 部署Java应用程序 779
13.1JAR Files / JAR文件 780
13.1.1Creating JARfiles / 创建JAR文件 780
13.1.2The Manifest / 清单文件 781
13.1.3Executable JAR Files / 可执行的JAR文件 782
13.1.4Resources / 资源 783
13.1.5Sealing / 封闭 787
13.2Storage of Application Preferences / 应用偏好信息的存储 788
13.2.1Property Maps / 属性映射 788
13.2.2The Preferences API / Properties API 794
13.3Service Loaders / 服务加载器 800
13.4Applets / Applet 802
13.4.1A Simple Applet / 一个简单的Applet 803
13.4.2The applet HTML Tag and Its Attributes / applet HTML标记及其属性 808
13.4.3Use of Parameters to Pass Information to Applets / 使用参数向Applet传递信息 810
13.4.4Accessing Image and Audio Files / 访问图片和音频文件 816
13.4.5The Applet Context / Applet上下文 818
13.4.6Inter-Applet Communication / Applet间的通信 818
13.4.7Displaying Items in the Browser / 在浏览器中显示信息 819
13.4.8The Sandbox / 沙箱 820
13.4.9Signed Code / 签名代码 822
13.5Java Web Start / Java Web Start 824
13.5.1Delivering a Java Web Start Application / 交付一个Java Web Start应用 824
13.5.2The JNLP API / JNLP API 829
Chapter 14: Concurrency /并发 839
14.1What Are Threads? / 什么是线程 840
14.1.1Using Threads to Give Other Tasks a Chance / 使用线程为其他任务提供执行机会 846
14.2Interrupting Threads / 中断线程 851
14.3Thread States / 线程状态 855
14.3.1New Threads / 新创建线程 855
14.3.2Runnable Threads / 可运行线程 855
14.3.3Blocked and Waiting Threads / 被阻塞线程与等待线程 856
14.3.4Terminated Threads / 被终止的线程 857
14.4Thread Properties / 线程属性 858
14.4.1Thread Priorities / 线程优先级 858
14.4.2Daemon Threads / 守护线程 859
14.4.3Handlers for Uncaught Exceptions / 未捕获异常的处理器 860
14.5Synchronization / 同步 862
14.5.1An Example of a Race Condition / 竞争条件的一个案例 862
14.5.2The Race Condition Explained / 竞争条件详解 866
14.5.3Lock Objects / 锁对象 868
14.5.4Condition Objects / 条件对象 872
14.5.5The synchronized Keyword / synchronized关键字 878
14.5.6Synchronized Blocks / 同步块 882
14.5.7The Monitor Concept / 监视器概念 884
14.5.8Volatile Fields / volatile字段 885
14.5.9Final Variables / final变量 886
14.5.10Atomics / 原子 886
14.5.11Deadlocks / 死锁 889
14.5.12Thread-Local Variables / 线程局部变量 892
14.5.13Lock Testing and Timeouts / 锁测试与超时 893
14.5.14Read / Write Locks / 读/写锁 895
14.5.15Why the stop and suspend Methods Are Deprecated / 为什么弃用stop和suspend方法 896
14.6Blocking Queues / 阻塞队列 898
14.7Thread-Safe Collections / 线程安全的集合 905
14.7.1Efficient Maps, Sets, and Queues / 高效的映射、集和队列 905
14.7.2Atomic Update of Map Entries / 映射表项的原子更新 907
14.7.3Bulk Operations on Concurrent Hash Maps / 并发散列映射上的主要操作 909
14.7.4Concurrent Set Views / 并发的集视图 912
14.7.5Copy on Write Arrays / 写时复制的数组 912
14.7.6Parallel Array Algorithms / 并行数组算法 912
14.7.7Older Thread-Safe Collections / 较早的线程安全的集合 914
14.8Callables and Futures / Callable与Future 915
14.9Executors / 执行器 920
14.9.1Thread Pools / 线程池 921
14.9.2Scheduled Execution / 预订执行 926
14.9.3Controlling Groups of Tasks / 控制任务组 927
14.9.4The Fork-Join Framework / Fork-Join框架 928
14.9.5Completable Futures / CompletableFuture 931
14.10Synchronizers / 同步器 934
14.10.1Semaphores / 信号量 935
14.10.2Countdown Latches / 倒计时门栓 936
14.10.3Barriers / 障栅 936
14.10.4Exchangers / 交换器 937
14.10.5Synchronous Queues / 同步队列 937
14.11Threads and Swing / 线程与Swing 937
14.11.1Running Time-Consuming Tasks / 运行耗时任务 939
14.11.2Using the Swing Worker / 使用Swing工作线程 943
14.11.3The Single-Thread Rule / 单线程规则 951
Appendix / 附录 953

Specifications

Brand Jingdong book
Brand Origin China

Disclaimer

Product packaging, specifications and price are subject to change without notice. All information about the products on our website is provided for information purposes only. Please always read labels, warnings and directions provided with the product before use.

View Full Terms of Use
Add to favorites
{{ $isZh ? coupon.coupon_name_sub : coupon.coupon_ename_sub | formatCurrency }}
{{__("Buy Directly")}} {{ itemCurrency }}{{ item.directly_price }}
Quantity
{{ quantity }}
{{ instockMsg }}
{{ limitText }}
{{buttonTypePin == 3 ? __("Scan to view more PinGo") : __("Scan to start")}}
Sold by JD@CHINA
Ship to
{{ __("Ship to United States only") }}
Free shipping over 69
Genuine guarantee

Added to Cart

Keep Shopping

More to Consider

{{ item.brand_name }}

{{ item.item_name }}

{{ item.currency }}{{ item.market_price }}

{{ item.currency }}{{ item.unit_price }}

{{ item.currency }}{{ item.unit_price }}

Coupons

{{ coupon.coupon_name_new | formatCurrency }}
Clip Clipped Over
{{ getCouponDescStr(coupon) }}
{{ coupon.use_time_desc }}
Expires soon {{ formatTime(coupon.use_end_time) }}

Share this item with friends

Cancel

Yami Gift Card

Get this exclusive deal when paying with gift card

Terms and Conditions

Gift card deals are special offers for selected products;

The gift card deals will automatically be activated if a customer uses gift card balance at check out and the balance is sufficient to pay for the total price of the shopping cart products with gift card deals;

You will not be able to activate the gift card deals if you choose other payment methods besides gift card. The products will be purchased at their normal prices;

If your account balance is not enough to pay for the products with gift card deals, you can choose to reload your gift card balance by clicking on the Reload button at either shopping cart page or check out page;

Products that have gift card deals can be recognized by a special symbol showing 'GC Deal';

For any additional questions or concerns, please contact our customer service;

Yamibuy reserves the right of final interpretation.

Sold by Yami

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

Yami is committed to provide our customers with a peace of mind when purchasing from us. Most items shipped from Yamibuy.com can be returned within 30 days of receipt of shipment (For Food, Beverages, Snacks, Dry Goods, Health supplements, Fresh Grocery and Perishables Goods, within 7 days of receipt of shipment due to damages or quality issues; To ensure that every customer receives safe and high-quality products, we do not provide refunds or returns for beauty products once they have been opened or used, except in the case of quality issues; Some products may have different policies or requirements associated with them, please see below for products under special categories, or contact Yami Customer Service for further assistance).
Thank you for your understanding and support.

Learn More

Sold by Yami

Terms and Conditions of Yami E-Gift Card

If you choose “Redeem automatically” as your delivery method, your gift card balance will be reload automatically after your order has been processed successfully;

If you choose “Send to Email”as your delivery method, the card number and CVV will be sent to the email address automatically;

Any user can use the card number and CVV to redeem the gift card, please keep your gift card information safely. If you have any trouble receiving email, please contact Yami customer service;

Yami gift card can be used to purchase both Yami owned or Marketplace products;

Yami gift card will never expire;

Yami gift card balance does not have to be used up at once;

All rights reserved by Yami.

Return Policy

Gift card that has already been consumed is non-refundable.

Sold by JD@CHINA

Service Guarantee

Yami Free Shipping over $49
Yami Easy Returns
Yami Ships from United States

Shipping

  • United States

    Standard Shipping is $5.99 (Excluding Alaska & Hawaii). Free on orders of $49 or more.

    Local Express is $5.99 (Available in Parts of CA, NJ, MA & PA). Free on orders of $49 or more.

    2-Day Express (Includes Alaska & Hawaii) starts at $19.99.

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Sold by JD@CHINA

Service Guarantee

Yami Cross-store Free Shipping over $69
Yami 30-days Return

Yami-China FC

Yami has a consolidation warehouse in China which collects multiple sellers’ packages and combines to one order. Our Yami consolidation warehouse will directly ship the packages to your door. Cross-store free shipping over $69.

Return Policy

You may return products within 30 days upon receiving the products. Sellers take responsibilities for any wrong shipment or missing items. Packing needs to be unopened for any other than quality issues return. We promise to pack carefully, but because goods are taking long journey to destinations, simple damages to packaging may occur. Any damages not causing internal goods quality problems are not allowed to return. If you open the package and any quality problem is found, please contact customer service within three days after receipt of goods.

Shipping Information

Yami Consolidation Service Shipping Fee $9.99(Free shipping over $69)

Sellers in China will ship their orders within 1-2 business days once the order is placed. Packages are sent to our consolidation warehouse in China and combined there. Our Yami consolidation warehouse will directly ship the packages to you via UPS. The average time for UPS to ship from China to the United States is about 10 working days and it can be traced using the tracking number. Due to the pandemic, the delivery time may be delayed by about 5 days. The package needs to be signed by the guest. If the receipt is not signed, the customer shall bear the risk of loss of the package.

Sold by JD@CHINA

Service Guarantee

Free shipping over 69
Genuine guarantee

Shipping

Yami Consolidated Shipping $9.99(Free shipping over $69)


Seller will ship the orders within 1-2 business days. The logistics time limit is expected to be 7-15 working days. In case of customs clearance, the delivery time will be extended by 3-7 days. The final receipt date is subject to the information of the postal company.

Yami Points information

All items are excluding from any promotion or points events on Yamibuy.com

Return Policy

You may return product within 30 days upon receiving the product. Items returned must be new in it's original packing, including the original invoice for the purchase. Customer return product at their own expense.

Yami

Download the Yami App

Back Top

Recommended for You

About the brand

Jingdong book

为您推荐

Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折
Yami
欣葉
2种选择
欣叶 御大福 芋头麻薯 180g

周销量 600+

$1.66 $1.99 83折

Reviews{{'('+ commentList.posts_count + ')'}}

Have your say. Be the first to help other guests.

Write a review
{{ totalRating }} Write a review
  • {{i}} star

    {{i}} stars

    {{ parseInt(commentRatingList[i]) }}%

Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}
Yami Yami
{{ comment.user_name }}

{{ showTranslate(comment) }}Show Less

{{ strLimit(comment,800) }}Show more

Show Original

{{ comment.content }}

Yami
Show All

{{ formatTime(comment.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ comment.likes_count }} {{ comment.likes_count }} {{ comment.reply_count }} {{comment.in_user==uid ? __('Delete') : __('Report')}}

No related comment~

Review

Yami Yami

{{ showTranslate(commentDetails) }}Show Less

{{ strLimit(commentDetails,800) }}Show more

Show Original

{{ commentDetails.content }}

Yami
Show All

{{ formatTime(commentDetails.in_dtm) }} VERIFIED PURCHASE {{groupData}}

{{ commentDetails.likes_count }} {{ commentDetails.likes_count }} {{ commentDetails.reply_count }} {{commentDetails.in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Comments{{'(' + replyList.length + ')'}}

Yami Yami

{{ showTranslate(reply) }}Show Less

{{ strLimit(reply,800) }}Show more

Show Original

{{ reply.reply_content }}

{{ formatTime(reply.reply_in_dtm) }}

{{ reply.reply_likes_count }} {{ reply.reply_likes_count }} {{ reply.reply_reply_count }} {{reply.reply_in_user==uid ? __('Delete') : __('Report')}}

Please write at least one word

Cancel

That’s all the comments so far!

Write a review
How would you rate this item?

Please add your comment.

  • A nice nickname will make your comments more popular!
  • The nickname in your account will be changed to the same as here.
Thanks for your review
Our community rely on great reviews like yours to find the best of Asia.

Report

If you find this content inappropriate and think it should be removed from the Yami.com site, let us know please.

Cancel

Are you sure to delete your review?

Cancel

You’ve Recently Viewed

About the brand

Jingdong book