http://blog.csdn.net/giser_whu/article/details/40892955Using Windowsbuildes in Eclipse can drag and drop the user's graphical interface as in vs. Offline installation package See: http://download.csdn.net/detail/liushuo_whu/8132231How to use: http://
I drew a mind map of the memory area of Java and the main functions of each area.simulating Java heap overflowThe Java heap is used to store object instances. It is only necessary to constantly create objects and ensure that the GC roots between
Do not write accessor methods that return references to mutable objects.--------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------
1 /**2 * Round robin schedule: there are n = 2^k athletes to play a tennis round robin3 * Match schedule:4 * Each contestant must match with the other N-1 players once5 * Each contestant can only compete once a day6 * Round robin ends within n-1
WebMagic
WebMagic is a simple and flexible Java crawler framework. Based on WebMagic, you can quickly develop an efficient and maintainable crawler.
Using httpclient can realize the directional crawler, but also can write the algorithm
Java's atomic variables are similar to C + + 's interlockeddecrement () operations. In fact, when doing arithmetic, the whole equation is seen as a whole, and the same time is guaranteed to be counted only once.Its purpose, for example, is that
The JDK (Java Development Kit,java development tool) contains {The JRE (Java runtime Environment,java Runtime Environment) contains {JVM (Java Virtual machine)---virtual machines can cross-platform}}. Java format as source file. Class files are byte-
Day09 Summary1. Static
Two key points:1, pay attention to its grammatical characteristics2, focus on its usage scenariosStatic use:L Static VariablesStatic variables all objects share one copy, non-static member variable, one for each
Package test;Import Com.alibaba.fastjson.JSON;Import Com.alibaba.fastjson.JSONObject;public class Dealjsonstring {/* Parse the JSON text as Jsonobject or Jsonarraypublic static final Object parse (String text)Parse the JSON text into
Annotations (Annotation)Explanation: Special tags in the code that can be read at compile, class load, run time, and perform the appropriate processing.1, 5 basic Annotation: (located in Java.lang.Annotation)Overriding the parent class method
Bo Master himself is just a new programming pit rookie, this article records the problem is more superficial, only for small white learningFirst look at a demo code and results:1 Packagetest;2 3 Importjava.util.ArrayList;4 5 Public classDemo {6 7
1, the main method in the threadA) isAlive () Determines whether the thread is still alive, i.e. whether the thread is not terminatedB) getpriority () Gets the priority of the threadC) setpriority () Sets the priority of the threadD) Thread.Sleep ()
Introduced in JDK 1.5 by Doug Lea to represent "the result of a asynchronous computation". Executorservice exe = Executors.newcachedthreadpool (); Runnable Runnable = (), System.out.println ("Runnable"); callable callable = (), "
Object-oriented (java cainiao's class notes) and java class notesClass: Put the same things together into attributes and actions; describe the same characteristics of one or more groups of things = "class attributes and actions are called members: //
Saving the object set in hibernate and the hibernate object set
1. objects are often used for operations in java web design. objects are saved in hibernate (one-to-many)
1. perform the following steps:
1) design the relationship between data
SpringMVC4 + MyBatis + SQL Server2014 implements read/write separation based on SqlSession (Master/Slave separation can also be implemented), springmvc4mybatisPreface
In my previous article, although it is convenient and convenient to use
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