Java Literacy Interface EnumerationAbstract: Abstract: Original creation Place: http://www.cnblogs.com/Alandre/sediment brick slurry Carpenter hope reprint, keep abstract, thank you! Remember 2 years ago, the most high school life is the teacher's
1
首先,我是一名新手,所以,要带着批判的眼光来看下面的文章
What does this article say?This article is my recent No. 8.6 in programming thinking code, from the source of the 0~200 page close to here, the following is the summary of the knowledge of this 0~200
Transferred from: http://blog.csdn.net/tenpage/article/details/7215810If you are configuring a Java environment, refer to this article for more simplicity : install JDK6 on ubuntu 12.04 lts I. Unpacking and installing the JDKEnter the directory
the elements stored in 1.Set are unordered and non-repeatable.The elements stored in 2.List are ordered and repeatable.3. Overriding the Equals method, it is generally better to rewrite the Hascode method, when the object as a key and index, will
Java annotations are some of the meta-information that is attached to the code, used by some tools to parse and use at compile and run time, to illustrate and configure functionality.Annotations do not and do not affect the actual logic of the code,
Common sorting Algorithms for JavaFirst type: Insert sortDirect Insert Sort1, direct Insert sort(1) Basic idea: In the set of numbers to be sorted, assume that the number of front (n-1) [n>=2] is already a rowIn a good order, now you want to insert
Methods for converting JAVA long integers to IP addressesThe code is as follows:/** * integer type resolves to an IP address * @param num * @return */public static string int2ip (Long num) { string str = null; long[] tt = new LONG[4]; TT[0]
The VO Value object \po Persistent objects, which consist of a set of Get\set methods of properties and properties.PO Full Duration ObjectThe most vivid understanding is that a PO is a record in the database and can be viewed as a Java object that
1) Hierarchical structure of the Java Collection framework2) operations on collections and linear tables using common methods defined by the collection interface3) traversing the collection using the iterator interface4) Use the JDK's enhanced for
Our first program is as follows: Save the file name Test.java, note that Java is size-sensitive, and the file name is the same. Public class test{//class name must be exactly the same as the file name, same as Test.java 2: Public staticvoid
Java memory analysis summary, java memory Summary
1. built-in jconsole tool.
(1) If it is started from the command line, make JDK on the PATH and run jconsole.
(2) If you start from the GUI shell, find the JDK installation path, open the bin folder,
Spring Bean scope, springbeanScope of Spring Bean
Scope
Description
Singleton
In each Spring IoC container, a bean definition corresponds to an object instance.
Prototype
A bean defines multiple
Hibernate_12_HQL statement Query
Features of HQL query:
(1) similar to SQL, SQL syntax can be directly used.
(2) SQL queries columns in tables and tables; HQL queries objects and objects
(3) HQL keywords are case-insensitive. Class names and
Hibernate_9_Person and IdCard instance _ one-to-one relationship: based on the primary key
1) create a Person class: (same as 8)
2) create an IdCard class: (same as 8)
3) Establish a persistence class:
1> Save method (same as 8)
2> Get method (same
[Spring MVC] learning notes-Basic Servlet and mvcservlet
ServletIs an application written in Java. It runs on the server, processes the request information, and sends it to the client.
The Servlet client initiates a request and obtains the response
Activit unit I test (integration test with spring), activitspring
1. Test
Install the activiti plug-in and maven in eclipse
Right-click to create the activiti project (the pom dependency and activiti. cfg. xml will be automatically created, but not
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