![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JAVA BOOKS
Anyanyamy
这个作者很懒,什么都没留下…
展开
-
中科院大牛博士是如何进行文献检索和阅读(好习惯受益终生)(转载)
转载的,是以前收藏的,自己觉得很好,今天拿出来给大家分享。原作者有多个,但是具体名字不知道。向所有作者致敬!1.如何进行文献检索 我是学自然科学的,平时确实需要不少外文文献,对于自然科学来讲英文文献检索首推Elsevier,Springer等。虽然这些数据库里面文献已经不算少了。但是有时还会碰到查不到的文献,而这些文献的数据库我们所在研究所或大学又没有买,怎么办?我基本通过以下向个途径来转载 2015-06-01 10:26:20 · 648 阅读 · 0 评论 -
{Effective Java} Chap 6 Enums and Annotations
In release 1.5, enum and annotation type are added.Item 30: Use enums instead of int constantsInt Enum pattern:not type safety.they're complie-time constants, so if changed, cilents must r原创 2015-10-10 03:49:24 · 429 阅读 · 0 评论 -
{Effective Java} Chap 10 Concurrency
It is inherent in much of what we do, and a requirement if you are to obtain good performance from multicore processors, which are now commonplace. This chapter contains advice to help you write clear原创 2015-10-15 22:18:52 · 517 阅读 · 0 评论 -
{Effective Java} Chap 11 Serialization
Object serialization API provides a framework for encoding objects as byte streams and reconstructing objects from their byte-stream encodings. Once an object has been serialized, its encoding can be原创 2015-10-27 01:01:28 · 493 阅读 · 0 评论 -
{Effective Java} Chap 9 Exceptions
When used properly, exceptions can improve a program's readability, reliability and maintainability.Item 57: Use exceptions only for exceptional conditionsExceptions are to be used only for except原创 2015-10-13 22:58:21 · 358 阅读 · 0 评论 -
{Java The Good Parts}
Chap 1 IntroductionWhen talking about a program language, think about what you are using them for.What is Java good for???1. When I am working on a project that is either so large or complex or原创 2015-11-17 00:37:46 · 495 阅读 · 0 评论 -
{Clean Code} 简单快速知识点-Smells and Heuristics
Comments:1, Inappropriate informationComments should be reserved for technical notes about the code and design.2. Obsolete commentDo not leave obsolete comments, update it or delete it.3. Re原创 2015-09-13 04:22:36 · 927 阅读 · 0 评论 -
{Effective Java} Quick Guide
1 Introduction2 Creating and Destroying Objects: Item 1: Consider static factory methods instead of constructors Item2: Consider a builder when faced with many constructor parameters原创 2015-11-17 23:01:27 · 409 阅读 · 0 评论 -
{Clean Code} Concurrency
"Objects are abstractions of processing. Threads are abstractions of schedule." Why Concurrency?Decoupling what from when can improve both the throughput and structures of an application. Thi原创 2015-11-19 22:59:04 · 693 阅读 · 0 评论 -
{Refractoring - Improving the design of existing code} - 1999
Forword:Design patterns are targets for refactoring, but transforming your code so that you get there is another challenge.One step at a time.Perface:原创 2015-12-16 06:17:31 · 1165 阅读 · 0 评论 -
{Effective Java} Chap 7 Methods
Item 38 Check parameters for validityYou shoud attempt to detect errors as soon as possible after they occur. Otherwise, it may have some bad impact, such as wrong answers and memory leak.For publ原创 2015-10-12 04:35:44 · 407 阅读 · 0 评论 -
{Effective Java} Chap 8 General Programming
This Chapter discusses about the treatment of local variables, control structures, the use of libraries, the use of various data types and the use of reflection and native methods. Finally, it talks原创 2015-10-13 00:19:26 · 396 阅读 · 0 评论 -
编写高质量代码--改善Java程序的151个建议
声明:本文只是把秦小波所著《编写高质量代码--改善Java程序的151个建议》一书的目录贴出来,相当于整个大纲,就好比武功心法,版权归属秦小波。1. Java开发中通用的方法和准则1.1 不要在常量和变量中出现易混淆的字母1.2 莫让常量蜕变成变量1.3 三元操作符的类型务必一致1.4 避免带有变长参数的方法重载1.5 别让null值和空转载 2015-08-24 21:01:06 · 501 阅读 · 0 评论 -
程序员一生必读的书
最近在网上看了一个非常好的帖子《程序员一生必读的书》(我的腾讯微博上有分享该贴子链接,有兴趣就点击进去看看吧),该贴的第一个张图片是一个雷达图, 这张图是由ThoughtWorks(全球软件设计与定制领域的领袖级企业)的资深人士提供的,它将程序员要读的书分为四个类别,每个类别又分为初级、进阶和高级读物,并用黄色三角形点出了强烈推荐阅读的书籍。四个类别包括:编程实践(Coding Pract转载 2015-08-23 11:11:11 · 714 阅读 · 0 评论 -
{Effective Java} Chap 5 Generics
With generics, you tell the compiler what types of objects are permitted in each collection. The compiler inserts casts for you automatically and tells you at compile time if you try to insert an ob原创 2015-10-02 04:17:33 · 420 阅读 · 0 评论 -
{Effective Java} Chap 4 类和接口
第十三条:使类和成员的可访问性最小化设计良好的模块: 模块对于外部的其他模块而言,是否隐藏其内部数据(information hiding)和其他实现细节。1. 尽可能使每个类或者成员不被外界访问。对于顶层的类和接口,访问级别:package 或者 public。包级别的更好一点,它只是包的实现的一部分,如果是public的,相当于是包的API。如果包级别的类只在某一个类内部用原创 2015-09-15 00:06:32 · 441 阅读 · 0 评论 -
{Effective Java} Chap 2 创建和销毁对象
第一条:static factory methodAdvantages:1. 相比于构造器,他们有名称,方便区别不同的构造方式2. 不必每次调用时都创建一个新对象,不可变类可以使用预先构建好的示例。(flyweight模式,singleton模式) 为重复的调用返回相同对象,有助于类控制实例。考虑用 == 代替 equals 提高性能。3. 可以返回子类型对象4. 在原创 2015-09-13 02:39:53 · 301 阅读 · 0 评论 -
编写高质量代码--改善Java程序的151个建议--读书笔记
--警惕自增陷阱i++表示先赋值后自增,而++i表示先自增后赋值。下面的代码返回结果为0,因为lastAdd++有返回值,而返回值是自增前的值(在自增前变量的原始值会存在一个内存空间,当自增结束后就会将内存空间的值返回)。Java代码 public static void main(String[] args) { int lastAdd转载 2015-08-24 21:11:43 · 3290 阅读 · 0 评论 -
JAVA---优化编程读书笔记(一)
JAVA优化编程读书笔记一、基本的代码规范 我就不记了二、JVM内存管理垃圾回收GC:垃圾:对象在JVM运行空间中无法通过根集合到达时。根集合是由类中的静态引用域和本地引用域组成的。堆、栈、代码区、数据段新对象区域与老对象区域。 JVM中对象的生命周期Creation---Using---Invisible---Unreachable---Collected--原创 2015-04-09 08:33:22 · 463 阅读 · 0 评论 -
{Effective Java} Chap 3 对于所有对象都适用的方法
第八条:覆盖equals 注意遵守通用约定在类具有自己特有的逻辑相等的概念时可以进行覆盖equals. value class such as Enum has only one object, so don't need to override equals.1.6 的 equivalence relation 约定:reflexive, symmetric, trans原创 2015-09-13 04:04:06 · 403 阅读 · 0 评论 -
JAVA---优化编程读书笔记(二)
七、JSP与SERVLET1. 通过init方法缓存静态数据2. 用print代替println,用ServletOutputStream代替 PrintWriter,因为不需要再把字符流转为字节流,提高效率;如果要用PrintWriter,最好这样:ByteArrayOutputStream baos = new ByteArrayOutputStream(1024);Pri原创 2015-04-10 11:17:18 · 478 阅读 · 0 评论 -
{ Java Puzzlers } 一本有意思的JAVA错误集锦
Java Puzzlers 是一本讲述Java编程中出现的有意思的错误的书,我读的英文版的,当时觉得很好玩,也照着书里面,用eclipse敲完了所有的例子,例子就上传到我的资源里了,希望以后有空的时候可以回头来看看。例子资源链接:http://download.csdn.net/download/u011680118/102278191. Lexical Issues1.1原创 2015-11-10 04:45:07 · 509 阅读 · 0 评论