Java
文章平均质量分 76
zlxadhkust
这个作者很懒,什么都没留下…
展开
-
<Manning-Java-Swing> - Note.01
Chapter 01Those that act as containers, such as JApplet, JFrame, JLayeredPane, JDesktopPane, and JInternalFrame, do not have models.However, interactive components such as JButton, JTextField, a原创 2016-03-29 18:06:22 · 459 阅读 · 0 评论 -
<Introduction to Java Programming> Note 02
Chapter 30 Multithreading and Parallel ProgrammingYou can create additional threads to run concurrent tasks in the program.In Java, each task is an instance of the Runnable interface, also c原创 2016-06-15 18:15:28 · 594 阅读 · 0 评论 -
搭建Android Studio2.1配HTC One M8做测试环境
Installing & configuring Android StudioI followed this book's instructions to set up my AS environment.For the rest, I took this video as a reference. It can give you a rough idea abou原创 2016-07-24 07:26:18 · 616 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Facade Pattern
2007Section 5, Chapter 4Facade PatternConceptA Facade pattern allows grouping of subsystems behind a unified interface to allow a central access point to these原创 2016-07-14 07:28:14 · 289 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Chain of Responsibility Pattern
2007Section 1, Chapter 3Chain of Responsibility PatternConceptIt makes sure each member in a chain controls when and to what class it hands its processing to. T原创 2016-07-03 16:54:47 · 274 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Visitor Pattern
2007Section 11, Chapter 3Visitor PatternConceptThe Visitor pattern allows changes or additions to a class's structure without changing the actual class.原创 2016-05-24 12:35:15 · 540 阅读 · 0 评论 -
<Professional Android 4 Application Development> - Note 02
Chapter 4: Building User InterfacesFUNDAMENTAL ANDROID UI DESIGNViews — Views are the base class for all visual interface elements (commonly known as controls or widgets). All UI controls,原创 2016-07-10 16:43:02 · 606 阅读 · 0 评论 -
<Professional Android 4 Application Development> - Note 01
Android Software Stack原创 2016-07-04 09:41:53 · 565 阅读 · 0 评论 -
Design Pattern - Creational Patterns - Prototype Pattern
2007Section 4, Chapter 2Prototype PatternConceptThe Prototype pattern gives us a way to produce a copy or clone of a class that we already have created and conf原创 2016-05-07 18:20:37 · 490 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Adapter Pattern
2007Section 1, Chapter 4Adapter PatternConceptIt creates an adaptation between two classes of different types so they can become interchangeable. In other words原创 2016-05-18 08:31:39 · 423 阅读 · 0 评论 -
<Mastering Android Application Development> - Note 01
Chapter 1: Getting StartedIntroducing Material DesignThe material is a metaphor of an element that can be seen on the surface; it consists of layers that can have different heights and width原创 2016-07-19 11:33:03 · 391 阅读 · 0 评论 -
[Specical] Design Pattern - Behavioral Patterns - Iterator Pattern
2007Section 4, Chapter 3Iterator PatternConceptIterators allow sequential access of elements in a collection of objects without exposing its underlying code.原创 2016-07-05 08:03:27 · 353 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Template Pattern
2007Section 10, Chapter 3Template PatternConceptThis pattern defines the skeleton or template for a group of classes as a parent class, and allows inherited mem原创 2016-07-19 15:56:35 · 261 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Flyweight Pattern
20072007Section 6, Chapter 4Section 2, Chapter 3Flyweight PatternConceptPut all the content from both books together, the highlights of Flyweight Patt原创 2016-07-30 13:58:17 · 456 阅读 · 0 评论 -
Design Pattern - Creational Patterns - Abstract Factory Pattern
2007Section 2, Chapter 2Abstract Factory PatternConceptSince the Factory pattern is a class that creates other classes in a uniform way, the Abstract Factory pa原创 2016-08-10 06:49:24 · 394 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Bridge Pattern
2007Section 2, Chapter 4Bridge PatternConceptIn the Bridge pattern we allow the instance variable to be not a concrete type but an abstract type, thus giving us原创 2016-10-01 17:24:07 · 316 阅读 · 0 评论 -
Design Pattern - Creational Patterns - Singleton Pattern
2007Section 1, Chapter 1Singleton PatternConceptThe Singleton pattern is a way to provide global access to a class instance without making the constructor avail原创 2016-04-06 08:48:12 · 547 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Composite Pattern
2007Section 3, Chapter 4Composite PatternConceptThe Composite pattern allows you to compound different subsets of functionality into a collection and then call原创 2016-07-11 17:39:39 · 264 阅读 · 0 评论 -
Design Pattern - Structural Patterns - Decorator Pattern
2007Section 4, Chapter 4Decorator PatternConceptThe Decorator pattern gives us a way to use inheritance as a conditional add-on. Inheritance is used in the patt原创 2016-05-25 19:14:24 · 676 阅读 · 0 评论 -
<Introduction to Java Programming> Note 01
Data and Methods Visibility原创 2016-03-23 18:22:21 · 601 阅读 · 0 评论 -
<O'Reilly Java Swing> - Note01
PrefaceSource CodeIn addition to the new components, Swing makes three major improvements on the AWT.It's written entirely in Java, and creates its own components. This new appro原创 2016-03-27 16:59:50 · 764 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Strategy Pattern
2007Section 9, Chapter 3Strategy PatternConceptA Strategy pattern is a group of algorithms encapsulated inside classes that are made interchangeable so原创 2016-05-24 11:44:20 · 389 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Observer Pattern
2007Section 7, Chapter 3Observer PatternConceptThe Observer pattern facilitates communication between a parent class and any dependent child classes, allowing c原创 2016-04-09 08:26:55 · 455 阅读 · 0 评论 -
Netbeans Theme
For both the theme of this program itself and the text editor, you can follow the steps:原创 2016-04-17 18:08:29 · 342 阅读 · 0 评论 -
Java Unit Testing with JUnit in NetBeans
Get started:JUnit knows to execute the test method as a test because it's marked with the @Test annotation. You can have other methods in the test原创 2016-05-28 08:39:34 · 371 阅读 · 0 评论 -
[Special] Design Pattern - Behavioral Patterns - Memento Pattern
2007Section 6, Chapter 3Memento PatternConceptThe Memento pattern is a way to capture an object's internal state without violating encapsulation of the object,原创 2016-05-23 18:05:32 · 304 阅读 · 0 评论 -
[Special] Design Pattern - Behavioral Patterns - Command Pattern
2007Section 2, Chapter 3Command PatternConceptUseThis is useful in the case of undoing or redoing some action, or simply storing an action in a re原创 2016-05-23 19:04:06 · 378 阅读 · 0 评论 -
[Special] Design Pattern - Behavioral Patterns - Interpreter Pattern
2007Section 3, Chapter 3Interpreter PatternConceptUseInterpreters can be used for various purposes including handling regular expressions or readi原创 2016-05-23 19:09:53 · 695 阅读 · 0 评论 -
[Special] Design Pattern - Behavioral Patterns - State Pattern
2007Section 9, Chapter 3State PatternConceptUseDesignThe State pattern has two main components: the State object: can change dependi原创 2016-05-23 19:22:58 · 333 阅读 · 0 评论 -
[Special] Design Pattern - Structural Patterns - Proxy Pattern
2007Section 7, Chapter 4Proxy PatternConceptProxies generally provide a stub or placeholder for an actual implementation object. It allows the creation, securit原创 2016-05-24 18:43:28 · 410 阅读 · 0 评论 -
<Core Java Volume I Fundamentals 9th Edition> Note 01
6.1.1. Properties of InterfacesJust as methods in an interface are automatically public, fields are always public static final.public interface Powered extends Moveable{ double milesPerGa原创 2016-06-27 07:55:10 · 434 阅读 · 0 评论 -
Design Pattern - Behavioral Patterns - Mediator Pattern
2007Section 5, Chapter 3Mediator PatternConceptThe Mediator pattern allows groups of objects to communicate in a disassociated manner and encapsulates this comm原创 2016-05-02 18:05:20 · 643 阅读 · 1 评论 -
Java - Get Started with Trouble Shooting
A public class must have the same name as the source file. A non public class can have any name.This is true only when you compile them with JDK in command.And, moreover, in Eclipse, you must make原创 2016-06-27 12:14:02 · 262 阅读 · 0 评论 -
<Introduction to Java Programming 6th Ed> Note 01
Chapter 12. Getting Started with GUI Programming12.4. FramesEach JFrame contains a content pane. A content pane is an instance of java.awt.Container. The GUI components such as buttons are pla原创 2016-06-27 12:38:49 · 315 阅读 · 0 评论 -
Design Pattern - Creational Patterns - Factory Pattern
Section 1, Chapter 1Factory PatternIntr:Factories use a base class type to create a class instance. This type can be in the form of either an abstraction or an interface, and based原创 2016-03-26 12:42:37 · 478 阅读 · 0 评论 -
Design Pattern - Creational Patterns - Builder Pattern
2007Section 3, Chapter 2Builder PatternConceptBuilders usually deal with construction of complex objects or objects whose construction, initialization, and conf原创 2016-06-25 19:11:03 · 440 阅读 · 0 评论 -
关于本人将会搬家博客的声明
至对这个博客有点关注的人:本人写博客的初衷很简单,主要是管理个人的知识和信息,软件开发这个行业的知识有其独特的性质,博大精深,结构宏大而细微处又琐碎,往往要经过一番长期的求索才能领悟一些知识,比如原理,算法等等,所以作为从业人员,记录下自己解开的知识点非常重要。这些博客其实只是个人的学习笔记,目标读者也只是我自己而已,没想到还是有很多人来看,也有些被收入知识库。也没有想到有一天会写原创 2017-04-13 17:05:25 · 521 阅读 · 0 评论