Java解惑(英文版)

Java解惑(英文版)
作 者: 布洛克 加福特
出版社: 人民邮电出版社
丛编项: 典藏原版书苑
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 高级编程
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

  Joshua Bloch是Google公司的首席工程师,以及获得过Jolt大奖的Effective Java一书的作者。他之前是Sun公司的杰出工程师和Transarc公司的资深系统设计师Bloch曾是Java语言开发团队的核心,领导了大量的Java平台特性的设计怀实现工作,包括JDK 5.0中的语言改进和获奖的Java集合框架。他用有卡而基-梅隆大学计算机科学的博士学位。

内容简介

本书深入研究Java编程语言及其核心类为的细微之处,特写95个有关Java或其他类库的陷阱和缺陷的谜题,其中大多数谜题都采用短程序的形式给出。在每个谜题之后都有详细的解惑方案,这些方案在给出那些实际行为与表面上迥异的程序行为的简单解释的同时,更向读者展示了如何一劳永逸地避免底层的陷阱与缺陷。本书附录部分列出了陷阱及缺陷的目录,可供读者进一学习参考。本书以轻松诙谐的语言,寓教于乐的方式,由浅入深、总结归纳Java编程语言的知识点,适合具有Java知识的学习者和有编程经验的Java程序员阅读。 [看更多]

图书目录

Contents

1 Introduction

1 Expressive Puzzlers

Puzzle 1: Oddity

Puzzle 2: Time for a Change

Puzzle 3: Long Division

Puzzle4:It’s Elementary

Puzzle 5:The Joy of Hex

Puzzle 6:Multicast

Puzzle 7: Swap Meat

Puzzle 8: Dos Equis

Puzzle 9: Tweedledum

Puzzle 10: Tweedledee

2 Puzzlers with Character

Puzzle 11: The Last Laugh

Puzzle 12: ABC

Puzzle 13:Animal Farm

Puzzle 14: Escape Rour

Puzzle 15: Hello Whirled

Puzzle 16:Line Priter

Puzzle 17: Huh?

Puzzle 18:String Cheese

Puzzle 19: Classy Fire

Puzzle 20:What’s My Class?

Puzzle 21: What’s My Class,Take 2

Puzzle 22:Dupe of URL

Puzzle 23: No Pain,NO Gain

3 Loopy Puzzlers

Puzzle 24: A Big Delight in Every Byte

Puzzle 25: Inclement Increment

Puzzle 26:In the Loop

Puzzle 27: Shifty I’s

Puzzle 28: looper

Puzzle 29: Bride of Looper

Puzzle 30: Son of Looper

Puzzle 31: Ghost of Looper

Puzzle 32: Curse of Looper

Puzzle 33: Looper Meets the Wolfman

Puzzle 34:Down for the Count

Puzzle 35: Minute by Minute

4 Exceptional Puzzlers

Puzzle 36 :Indecision

Puzzle 37: Exceptionally Arcane

Puzzle 38: The Unwelcome Guest

Puzzle 39: Hello,Goodbye

Puzzle 40 :The Reluctant Constructor

Puzzle 41: Field and Stream

Puzzle 42: Thrown for a Loop

Puzzle 43:Exceptionally Unsafe

Puzzle 44:Cutting Class

Puzzle 45: Exhausting Workout

5 Classy Puzzlers

Puzzle 46:The Case of the Cofusing Constructor

Puzzle 47: Well,Dog My Cats!

Puzzle 48: All I Get Is Static

Puzzle 49: Larger Than Life

Puzzle 50: Not Your Type

Puzzle 51: What’s the Point?

Puzzle 52: Sum Fun

Puzzle 53: Do Your Thing

Puzzle 54: Null and Void

Puzzle 55: Creationism

6 Library Puzzlers

Puzzle 56: Big Problem

Puzzle 57: What’s in a Name?

Puzzle 58: Making A Hash of it

Puzzle 59: What’s the Difference?

Puzzle 60: One-Liners

Puzzle 61: The Dating Game

Puzzle 62: The Name Game

Puzzle 63:More of the Same

Puzzle 64: The Mod Squad

Puzzle 65:A Strange Saga of a Suspicious Sort

7 Classier Puzzlers

Puzzle 66: A Private Matter

Puzzle 67: All Strung Out

Puzzle 68: Shades of Gray

Puzzle 69: Fade to Black

Puzzle 70: Package Deal

Puzzle 71: Import Duty

Puzzle 72: Final Jeopardy

Puzzle 73: Your Privates Are Showing

Puzzle 74:I dentity Crisis

Puzzle 75: Heads of Tails?

8 More Library Puzzlers

Puzzle 76: Ping Pong

Puzzle 77: The Lock Mess Monster

Puzzle 78: Reflection Infection

Puzzle 79: It’s a Dog’s Life

Puzzle 80: Further Reflection

Puzzle 81: Charred Beyond Reccognition

Puzzle 82: Beer Blast

Puzzle 83:Dyslexic Monotheism

Puzzle 84: Rudely Interupted

Puzzle 85: Lazy Initialization

9 Advanced Puzzlers

Puzzle 86: Poison—Paren Litter

Puzzle 87: Strained Relations

Puzzle 88:Raw Deal

Puzzle 89: Generic Drugs

Puzzle 90: It’s Absurd,It’s a Pain,It’s Superclass!

Puzzle 91: Serial Killer

Puzzle 92: Twisted Pair

Puzzle 93: Class Warfare

Puzzle 94: Lost in the Shuffle

Puzzle 95: Just Desserts

A Catalog of Traps and Pitfalls

B Notes on the Illusions

References

Index