JD-GUI
This JD-GUI can decompile the jar package, the usage is to open the jar package directly browse.
JD-Eclipse
JD-Eclipse is an Eclipse plug-in. The installation method is to open eclipse, and the menu is help-> install new software...
Synchronized, as its name implies, represents thread synchronization. So how to use it in Java programming?
Let's first look at this situation: For the same variable syndemo, we call syndemo. synmethord1 () and syndemo. synmethord2 () in two
Berkeley DB--Java and. NET and some applications
Introduction
Berkeley DB In C/C ++ Environment is very convenient, especially C Because Berkeley DB Is to use C Developed (it seems that many of the fierce software is used C
I. Preface
There are two common methods to parse XML documents using Java: Simple API for XML) the Document Object Module, known as Sax and the Document Object Model Based on trees and nodes, is called Dom. Sun provides the Java API for XML parsing
Implement a simple login function, enter the user name and password, and jump to the corresponding page correctly. If the error message is incorrect, the user here is verified in the domino names library.
The implementation method is roughly as
From: http://hi.baidu.com/cjxgotofly/blog/item/ef981434e2e112355ab5f55f.html
Java. Lang. outofmemoryerrorTroubleshooting
Cause:The following are common examples:
1. The amount of data loaded in the memory is too large, such as
Recently, I want to find a midi for ringtones. I used to store thousands of midi, which is hard to find at a time.
Mediaplayer does not support the first part of each curve sampling, so you have to do it yourself.
Search all midi files in the
One-dimensional array declaration method:
Type var []; or type [] var;When declaring an array, you cannot specify its length (number of elements in the array ),In Java, use the keyword new to create an array object in the format:Array name = new
Most good designers avoid using implementation inheritance (extends relationships) Just as they do without plague ). In fact, 80% of the Code should be completely written using interfaces instead of extends. The book "Java Design Patterns" describes
In application development, periodic operations are often required, such as performing an operation every five minutes. This time, we have such a requirement in our development. if the execution of a function takes a long time, the timer is used.
Usage of StringUtils in the Common-lang Package
The operation object of the StringUtils method is java. lang. string-type objects are complementary to the String-type operation method provided by JDK, and are null safe (that is, if the input
1. What is Atomic?
The word Atomic has a relationship with atoms, which were once considered to be the smallest unit of matter. Atomic in a computer means that it cannot be divided into several parts. If a piece of code is considered Atomic, it
The Mark-Sweep algorithm first marks all objects to be recycled and then recycles them all. Main disadvantages: 1. low marking and clearing efficiency 2. A large number of discontinuous memory fragments are generated, resulting in the subsequent
I often deal with these object classes when I am helping to write a single side recently, because I am not very familiar with java, and I just learned a little about it, I didn't go deep into learning, because I don't feel I can use it.
I. Comparison-based sorting algorithms
1. Insert sorting method
Direct insertion sorting, Hill sorting, not commonly used: Tree sort; Library sort: Patience sorting
2. Exchange sorting
Bubble sorting, fast sorting, not commonly used: Cocktail
1. ofbiz Introduction: Ofbiz (http://ofbiz.apache.org) is apache e-commerce platform, make full use of apache Open Source project, such as Tomcat, Ant, BeanShell, Jboss, etc, building a powerful system platform, Ofbiz has completed all the functions
Two keywords extends: Generally the inheritance class, which cannot be inherited multiple times in java. Implements: generally refers to the implementation interface. Because java does not support multiple inheritance, an interface is used to
To use OSGi Annotation in Bundle, you must first define two BeanPostProcessor. We have read the previous article. Here we will take a look at it, as shown in: (figure 1) the above two beans are inherited to org. springframework. beans. factory.
Recently, in order to increase the matching rate of queries, the CMS system needs to add pinyin search fields. On the internet, it found the java open-source class library of pinyin4j, which provides conversion of Chinese to Chinese pinyin (and
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