I. ObjectObject found
Check the object's Responsibilities
CRC-responsibilities-collaboration
Determine the object hierarchy
Object Property found
Object operations discovered
2. Design Guide1. Overall understanding
2. EncapsulationMaximize
First, there is an arraylist like this.
Arraylist mylist = new arraylist ();
Then there is such an interface in the system and a class that implements this interface.
Interface IArticleClass article implements IArticle
Add an article instance
In addition, this article uses several examples to quickly understand ZK content. These mature and large applicationsProgramIs a shortcut to quickly master these technologies.
Navalplan
Http://www.zkoss.org/demo/external various sites using ZK
Java provides three methods to implement multithreading:
L inherit the Thread class
L implement the runnable interface
L use timer and timertask combination I. inherit the Thread class
1. If a class inherits the Thread class, the class has
Import java. util. arrays;
Import java. util. List;
Import java. util. Collections list;
Public Class Tests {Public static list printmap1 (string [] S ){List List = new partition list ();List list2 = arrays. aslist (s );List. addall (list2
Map beans object: a set of components based on Java swing, which is usually used to add maps to Java 2 applications.ProgramOr in the GUI of the applet.
Including:
Beans: basic component that can be used to add the GIS function to a j2sdk
First, put the jdom-1.0.jar package in the Notes client and Domino Server Java library path :... \ JVM \ Lib \ Ext, and change the notes under the installation path of the server and client respectively. the javauserclasses parameter of ini.
Last time I shared a message about the lower-right corner of the frameset framework.
Connection here http://www.cnblogs.com/zhangnanblog/archive/2012/06/20/jqueryMessage.html
In this case, no message is obtained from the message table of the
Detailed description of the Length attribute of the array
1. the length in the array refers to the number of elements in the array. For example, there are 6 elements in array A, and the last element is a [5], length = 6; 2. when defining an array,
Cloning refers to copying a copy of an object. However, an object may have basic data types, such as int, long, and float. It also contains non-basic data types such as arrays and collections)The value of the basic type of the cloned object is
Java parameters and references
Java parameters and references are generic. Although Java has no reference concept When passing in parameters in Java, the actually passed parameter object is the
Statement:ArticleSource network. The copyright belongs to the original author.
1. Duplicated code
CodeRepetition is almost the most common odor. He is also one of the main goals of refactoring. Code duplication often comes from the
Javascript: var agent = Window. navigator; var S = []; var color; For (P in Agent) {If (P = "useragent") {color = "# f00 ";} else {color = "#000";} s. push ("" + P + ":" + eval ("agent. "+ p) +" ");} s. sort (); s = S. join (""); document. write (s
I accidentally used quick sorting when I was doing Java exercises recently. I forgot to search online ...... I think about a searchable search: in Java, array. what is the speed for fast sorting of sort and (self-written?
Many bloggers have
The following concepts have been vague:Overload (overload) Key Words: None 1. used: in the same class. (Actually, different versions of methods with the same name in the same class
A name)2. Requirements for methods to be reloaded and methods to
30 suggestions for writing Java code (reproduced)
(1) The first letter of the class name should be capitalized. The first letter of the field, method, and object (handle) should be in lowercase. For all labelsIdentifier, and all the words in it
As a new feature of IBM Lotus Domino 7, Web service design elements are the main way to publish services to the world. But do you know how easy it is to use the Apache Axis framework to consume Web Services? This article describes how to use Apache
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service