Latching CountdownlatchLatching is a synchronization tool class that can delay the progress of a thread until it reaches the terminating state. Latching acts as a door: the door is closed until it reaches the end state, and no thread can pass, and
1.codeMaker Duplicate Code generation tool
Domian and DTOs are roughly the same as two classes, and this tool can quickly generate another class from one class.
2.gsonFormat JSON into Java class
Many times the corresponding
CauseRecently in the company to hit the code when accidentally found previously left enum class implemented the Serializable interface, and then wrote a serialversionuid ... I've never used it in an enumeration class before. Feel a bit magical ....
If the negative number is modulo, the modulus symbol can be ignored, such as: 5%-2 = 1for/, Integer divide and decimal divide are distinguished, integers are divide, and integers are preserved to remove remainder+ Besides the function of string
Experiment three-11. Experimental Requirements:Experimental three agile Development and XP practice http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse content replaced by ideaRefer to Http://www.cnblogs.com/rocedu/p/6371315.html#SECCODESTANDARD
Knowledge points: 1. Definition and initialization of arrays 2. One-dimensional arrays and multidimensional arrays one, arrayFirst, let's take a look at a picture, which is introduced to the web.Array, we can get the value of the element by
One: Java.util.Data bagThe data object represents an instant that is accurate to milliseconds.I'll just cover a few of the remaining methods (the common denominator of these methods is the Date conversion to millisecond values):Construction Method:
JDK1.5 introduces a new type--enumeration. Although it is a "small" function in Java, it is very helpful for development.Related uses of enumerationsUsage One:Before JDK1.5, we defined constants: public static fianl ..... Well now, with the
Non-blocking queue:concurrentlinkedqueueConcurrentlinkedqueue is a link-based, line-free secure queue that uses FIFO rules to sort the nodes, and when we add an element, it is added to the end of the queue, and when we get an element, it returns the
Today configuration items, because static resources need to be shared, create a shared directory to do static resources, and then Java static path reference a soft link, access 4041. Project Resource path:Total 12drwxr-x---3 root root 4096 2 14:12
Luyten is a very powerful anti-compilation toolkit, is a GitHub open source tool, the software is very powerful, simple and clear interface, easy to operate quickly, design is very human.Tool software Download path:
(Reprint technology Small black House) The difference between heap and Stack in JavaDEC 7TH, 2014When a person begins to learn Java or other programming languages, it comes into contact with heaps and stacks, and since there is no clear explanation
Condition:
The condition interface describes the condition variables that may be related to locks. These usages are similar to using object.wait to access an implicit monitor, but provide more powerful functionality. It should be noted that
Java is broadly divided into three categories1.Javase Desktop Applications2.JAVAEE Enterprise Applications3.Javame Smart Terminal Note: Javame has been eliminated.First, Java developmentJava was launched by Sun in 1995 and was acquired by Oracle in
Two-way merge sort:The core of the idea when the problem in Split, and recursive call to divide the method, so that the problem is divided into the atomic problem can not be divided, and then merge, from the realization of the atomic problem, the
For example, string date= "1987-10-10"; I want to convert it to date type, and after the output is "1987-10-10" in this format, not those with English.
String-Date
123
An immutable class is when an object instance of a class is created, and the properties of that instance cannot be changed. A common string is an immutable class. The property values of immutable types do not change, which is useful in multithreaded
Java multithreaded--jdk and contract (2) thread poolAfter using the thread pool, the creation thread becomes the free thread from the line constructor, and the shutdown thread becomes a bad thread to the thread pool.The JDK has a executor framework,
Many people are aware of the interface and the abstract implementation of the confusion, attention to distinguish between the implementation of interface and inheritance of the difference, the figure is the interface of dark, light for the
An assertion (assertion) is a statement in Java that contains a Boolean expression that, when the Boolean value is True, the program is considered correct, and when the Boolean value is False, the system throws an error.Assertions are disabled by
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