自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

转载 Thinking in Java——笔记(21)

Concurrency However, becoming adept at concurrent programming theory and techniques is a step up from everything you’ve learned so far in this book, and is an intermediate to advanced topic. In...

2017-01-09 19:24:00 723

转载 Thinking in Java——笔记(20)

Annotations They provide information that you need to fully describe your program, but that cannot be expressed in Java. In general the kind of annotations you add and what you do with them are...

2016-12-27 16:56:00 221

转载 Thinking in Java——笔记(19)

Enumerated Types Basic enum features When you create an enum, an associated class is produced for you by the compiler. This class is automatically inherited from java.lang.Enum. The ordinal( ) ...

2016-12-26 19:45:00 300

转载 Thinking in Java——笔记(18)

I/O The original byte-oriented library was supplemented with char-oriented, Unicode-based I/O classes. It’s rather important to understand the evolution of the I/O library. The File class "Fi...

2016-12-24 10:54:00 708

转载 Thinking in Java——笔记(17)

Containers in Depth Full container taxonomy You can usually ignore any class that begins with "Abstract." Filling containers This fill( ) just duplicates a single object reference throughout ...

2016-12-21 19:32:00 306

转载 Thinking in Java——笔记(16)

Arrays Why arrays are special There are three issues that distinguish arrays from other types of containers: efficiency, type, and the ability to hold primitives. The cost of this speed is that...

2016-12-19 19:34:00 200

转载 Thinking in Java——笔记(15)

Generics The term "generic" means "pertaining or appropriate to large groups of classes." While using someone else’s generic type is fairly easy, when creating your own you will encounter a num...

2016-12-19 09:00:00 565

转载 Thinking in Java——笔记(14)

Type Information The need for RTTI Because it is a dynamically bound method, the proper behavior will occur even though it is called through a generic reference. That’s what RTTI means: At run ...

2016-12-15 08:47:00 266

转载 Thinking in Java——笔记(13)

Strings Immutable Strings Objects of the String class are immutable. Every method in the class that appears to modify a String actually creates and returns a brand new String object containing ...

2016-12-13 17:05:00 197

转载 Thinking in Java——笔记(12)

Error Handling with Exceptions The ideal time to catch an error is at compile time, before you even try to run the program. The rest of the problems must be handled at run time through some for...

2016-12-12 20:10:00 288

转载 Thinking in Java——笔记(11)

Holding Your Objects In general, your programs will always be creating new objects based on some criteria that will be known only at run time. You can’t rely on creating a named reference to ho...

2016-12-11 22:35:00 277

转载 Thinking in Java——笔记(10)

Inner Classes It allows you to group classes that logically belong together and to control the visibility of one within the other. It knows about and can communicate with the surrounding class....

2016-12-09 20:02:00 275

转载 Thinking in Java——笔记(9)

Polymorphism Abstract classes and methods If you have an abstract class, objects of that specific class almost always have no meaning. You create an abstract class when you want to manipulate a...

2016-12-08 14:48:00 190

转载 Thinking in Java——笔记(8)

Polymorphism The polymorphic method call allows one type to express its distinction from another, similar type, as long as they’re both derived from the same base type. Upcasting revisited Ta...

2016-12-07 15:17:00 267

转载 Thinking in Java——笔记(7)

Reusing Classes The first is composition,You’re simply reusing the functionality of the code, not its form. The second approach is inheritance,You literally take the form of the existing class ...

2016-12-06 15:40:00 268

转载 Thinking in Java——笔记(6)

Access Control A piece of work isn’t good until it’s been rewritten, often many times. Thus a primary consideration in object-oriented design is to “separate the things that change from the thi...

2016-12-05 14:44:00 216

转载 Thinking in Java——笔记(5)

Initialization & Cleanup Guaranteed initialization with the constructor In Java, the class designer can guarantee initialization of every object by providing a constructor. The coding style...

2016-12-01 20:11:00 360

转载 Thinking in Java——笔记(4)

Controlling Execution true and false Java doesn’t allow you to use a number as a boolean. If you want to use a non-boolean in a boolean test, you must first convert it to a boolean value by usi...

2016-11-29 15:13:00 199

转载 Thinking in Java——笔记(3)

Operator Using Java operators Some operators change the value of an operand. This is called a side effect. Almost all operators work only with primitives. The exceptions are ‘=‘, ‘==‘ and ‘!=‘,...

2016-11-28 19:50:00 192

转载 Thinking in Java--笔记(2)

Everything Is an Object You manipulate objects with references Each programming language has its own means of manipulating elements in memory. Are you manipulating the element directly, or are ...

2016-11-25 16:46:00 261

转载 Thinking in Java——笔记(1)

Introduction To Obejct The progress of abstraction But their primary abstraction still requires you to think in terms of the structure of the computer rather than the structure of the problem y...

2016-11-23 10:12:00 648

转载 JDBC基础

JDBC 补充:Jabc相关类介绍 1.Connection类 a.用于代表数据库的链接,客户端与数据库所有交互都是通过connection对象完成的。 b.主要方法: createStatement():创建向数据库发送sql的statement对象。 prepareStatement(sql) :创建向数据库发送预编译sql的PrepareSatement对象。 ...

2016-11-04 09:16:00 151

转载 Jsp入门学习笔记

#Jsp入门 一、JSP基础语法 1.JSP指令: page inlcude taglib 2.JSP注释: a.html注释: <!-- abcdefghijklmn --> b.jsp注释: <%-- abcdefghijklmn --%> c.jsp脚本内: //abcdefghijk /*abcdefghijk*/ 3.js...

2016-04-28 15:30:00 121

原创 不留一丝痕迹。一个人徒步于阡陌高台之上

bbs.tianya.cn/post-104120-24-1.shtml  bbs.tianya.cn/post-104281-14-1.shtml  bbs.tianya.cn/post-104120-25-1.shtml  music.douban.com/doulist/4176030/  bbs.tianya.cn/post-104281-15-1.shtml  music.do

2014-06-17 14:50:57 427

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除