Java Development Tool (use of content auxiliary keys in Eclipse) and Development Tool eclipse
* A: Alt +/serves as A prompt* B: main + alt +/, syso + alt +/. Other prompts are provided.* C: Fill in the output statement and select the part to be output. alt +/select the last item.* C: define your own alt +/* Windows -- perference-
Java basic Map interface + Collections tool class, collections tool class
1. In Map, we mainly talk about two interfaces: HashMap and LinkedHashMap.
(1) how to obtain the sorted hashmap
Let's talk about the add, delete, modify, and query functions of Map:
/** Add Map set */Map
The above is the addition, deletion, modification, and query method of Map.
2. Map T
Memory layout of java objects (1): Calculate the memory space occupied by java objects and use of the java object layout tool
I recently learned some knowledge about the memory layout of java objects. I want to know how much memory space a
Heap sorting tool class (applicable to top k problems, java generic implementation) and heap sorting tool class
The Code is as follows:
1 public class HeapSort {2 // method function: retrieve the minimum k values in the list. 3 public static
in lowercase **/ Public Static FinalString lower_letter_regexp = "^[a-z]+$"; /*** * matches a string consisting of a number and 26 English letters **/ Public Static FinalString letter_number_regexp = "^[a-za-z0-9]+$"; /*** * matches a string consisting of a number, 26 letters or underscores **/ Public Static FinalString letter_number_underline_regexp = "^//w+$"; /*** Case-sensitive formal expression batching * *@paramSource * Batch-sourced string *@paramRegExp * Regular Expressions
Java Sensitive word filter, Java sensitive word substitution, Java sensitive Word tool class===========================? Copyright Sweet Potato Yiu September 25, 2017http://www.cnblogs.com/fanshuyao/First, the problem descriptionMany of the content of external websites need to filter sensitive words, avoid political an
Java compressed file tool class ZipUtil usage code example, tool class ziputil
This example uses the Java Zip input/output stream to compress and decompress files. The first part of the code is used to obtain the file path and change the compressed file name. The details are as follows:
Package com.utility.zip; import
, grammar analysis, semantic analysis ... But unlike compilers, they can customize a variety of complex rules to analyze the code.Static Detection tools:Pmd
1) PMD is a code-checking tool that analyzes Java source code to identify potential problems:
1) Potential bug: Empty Try/catch/finally/switch statement
2) Unused code: Unused local variables, parameters, private methods, etc.
Java property file properties common operation tool class, properties tool classFor the java. util. Properties class, we usually only need to achieve the following three learning objectives:1. Understand the properties file, understand its meaning, and create the properties file correctly.2. the
Java JSON processing tool class Usage Details, json tool class
This example shares the code of the JSON processing tool class for your reference. The details are as follows:
Import java. io. IOException; import java. util. date; i
Org. apache. httpcomponents: httpclient tool class, java tool class
Httpclient version 4.4.1
Because http connections require three handshakes, resources and time are wasted when frequent calls are required.
Therefore, the connection pool is used for connection.
Change the maximum connection pool connections and maximum route connections as needed
Another thing t
First, SVNSVN server: https://subversion.apache.org/1. What is version control: Versioning is the standard way to maintain a blueprint for a project that tracks the process from birth to finalization. is a system that records changes in several file contents so that a specific revision of the system can be consulted in the future.2. What are the bad things that happen without versioning:(1) Code Management Confusion(2) Backing up multiple versions, consuming large disk space(3) Difficulty in res
Java MD5 encryption tool class, javamd5 tool class
Import java. security. messageDigest;/*** MD5 encryption tool class * @ author zwq */public class MD5Util {/*** MD5 encryption ** @ param message the information to be encrypted, for example: 123456 * @ return returns the MD
See this topic is not most people are dismissive, indeed almost every Java program ape has written the JSON tool class, and many people have used json-lib.jar encapsulation of similar functions, but I use the regular to support the XML and JSON, reduce the introduction of the jar package. Basically meet the needs. Of course, if you need more powerful features, it's best to use json-lib to achieve it.
Take a
10 recommended efficient Java tools and class libraries, 10 Java tool Libraries
As a Java architect and developer, some efficient tools are essential for stable and qualified completion of work. Fortunately, there are plenty of tools to support the Java platform. These tools
rights and prevent the company's intellectual achievements from being easily stolen, developers need to have a deep understanding of the decompilation tool to take targeted protection measures.Currently, there are nearly 30 popular Java decompilation tools, of which three are excellent:I. Widely used JadAmong the many Java decompilation tools, several well-known
For example, to count the workload of a Java programmer writing code in one day (for example, the number of lines of valid code, the number of blank lines, and the number of lines of comments), this tool may serve as a reference.
Idea: because the content of each Java source file consists of Java statements, blank line
DJ Java decompiler is a decompilation tool that can be used to compile and restore compiled class files to original java files without additional installation of JVM (Java Virtual Machine) orJDK tool modules can be used. In addition, it also has the role of a
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.